fix(main/libtermkey): fix pkgconfig file installation path

- Installed files change:

```diff
--- libtermkey-old.txt	2026-01-25 04:21:25.933458391 -0600
+++ libtermkey-new.txt	2026-01-25 04:24:01.881458280 -0600
@@ -8,16 +8,9 @@
 /data/data/com.termux/files/usr/include/termkey.h
 /data/data/com.termux/files/usr/lib
 /data/data/com.termux/files/usr/lib/libtermkey.so
-/data/data/com.termux/files/usr/lib/pkgconfig:
-/data/data/com.termux/files/usr/lib/pkgconfig:/data
-/data/data/com.termux/files/usr/lib/pkgconfig:/data/data
-/data/data/com.termux/files/usr/lib/pkgconfig:/data/data/com.termux
-/data/data/com.termux/files/usr/lib/pkgconfig:/data/data/com.termux/files
-/data/data/com.termux/files/usr/lib/pkgconfig:/data/data/com.termux/files/usr
-/data/data/com.termux/files/usr/lib/pkgconfig:/data/data/com.termux/files/usr/share
-/data/data/com.termux/files/usr/lib/pkgconfig:/data/data/com.termux/files/usr/share/pkgconfig
-/data/data/com.termux/files/usr/lib/pkgconfig:/data/data/com.termux/files/usr/share/pkgconfig/termkey.pc
 /data/data/com.termux/files/usr/share
 /data/data/com.termux/files/usr/share/doc
 /data/data/com.termux/files/usr/share/doc/libtermkey
 /data/data/com.termux/files/usr/share/doc/libtermkey/copyright
+/data/data/com.termux/files/usr/share/pkgconfig
+/data/data/com.termux/files/usr/share/pkgconfig/termkey.pc
```
This commit is contained in:
termux-pacman-bot
2026-01-27 03:35:42 +00:00
parent 53a361558b
commit 918ccde9eb

View File

@@ -3,7 +3,7 @@ TERMUX_PKG_DESCRIPTION="Library for processing of keyboard entry for terminal-ba
TERMUX_PKG_LICENSE="MIT"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=0.22
TERMUX_PKG_REVISION=4
TERMUX_PKG_REVISION=5
TERMUX_PKG_SRCURL=http://www.leonerd.org.uk/code/libtermkey/libtermkey-${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=6945bd3c4aaa83da83d80a045c5563da4edd7d0374c62c0d35aec09eb3014600
TERMUX_PKG_DEPENDS="libunibilium"
@@ -28,6 +28,7 @@ termux_step_make_install() {
install -Dm600 -t $TERMUX_PREFIX/lib libtermkey.so
chmod u+w termkey.h
install -Dm600 termkey.h $TERMUX_PREFIX/include/
mkdir -p "$TERMUX_PREFIX/share/pkgconfig"
LIBDIR=$TERMUX_PREFIX/lib INCDIR=$TERMUX_PREFIX/include VERSION=$TERMUX_PKG_VERSION sh termkey.pc.sh > \
$PKG_CONFIG_LIBDIR/termkey.pc
"$TERMUX_PREFIX/share/pkgconfig/termkey.pc"
}