diff -uNr xorgproto-2019.1/meson.build xorgproto-2019.1.mod/meson.build
--- xorgproto-2019.1/meson.build	2019-06-20 06:13:03.000000000 +0300
+++ xorgproto-2019.1.mod/meson.build	2019-06-29 22:00:10.215053101 +0300
@@ -68,7 +68,7 @@
         filebase : pc[0],
         description : pc[0] + ' headers',
         version : pc[1],
-        install_dir : get_option('datadir') + '/pkgconfig',
+        install_dir : '@TERMUX_PREFIX@/lib/pkgconfig',
         subdirs : subdir,
     )
 endforeach
@@ -88,7 +88,7 @@
             filebase : pc[0],
             description : pc[0] + ' headers',
             version : pc[1],
-            install_dir : get_option('datadir') + '/pkgconfig'
+            install_dir : '@TERMUX_PREFIX@/lib/pkgconfig'
         )
     endforeach
 endif