|
|
@ -1,10 +1,9 @@ |
|
|
|
TERMUX_PKG_HOMEPAGE=http://www.leonerd.org.uk/code/libtermkey/ |
|
|
|
TERMUX_PKG_DESCRIPTION="Library for processing of keyboard entry for terminal-based programs" |
|
|
|
TERMUX_PKG_LICENSE="MIT" |
|
|
|
TERMUX_PKG_VERSION=0.20 |
|
|
|
TERMUX_PKG_REVISION=1 |
|
|
|
TERMUX_PKG_VERSION=0.22 |
|
|
|
TERMUX_PKG_SHA256=6945bd3c4aaa83da83d80a045c5563da4edd7d0374c62c0d35aec09eb3014600 |
|
|
|
TERMUX_PKG_SRCURL=http://www.leonerd.org.uk/code/libtermkey/libtermkey-${TERMUX_PKG_VERSION}.tar.gz |
|
|
|
TERMUX_PKG_SHA256=6c0d87c94ab9915e76ecd313baec08dedf3bd56de83743d9aa923a081935d2f5 |
|
|
|
TERMUX_PKG_DEPENDS="libunibilium" |
|
|
|
TERMUX_PKG_BUILD_IN_SRC=yes |
|
|
|
|
|
|
@ -22,7 +21,6 @@ termux_step_make_install() { |
|
|
|
|
|
|
|
chmod u+w termkey.h |
|
|
|
cp termkey.h $TERMUX_PREFIX/include/ |
|
|
|
cat termkey.pc.in | sed "s|@INCDIR@|$TERMUX_PREFIX/include|" | \ |
|
|
|
sed "s|@LIBDIR@|$TERMUX_PREFIX/lib|" > \ |
|
|
|
$PKG_CONFIG_LIBDIR/termkey.pc |
|
|
|
LIBDIR=$TERMUX_PREFIX/lib INCDIR=$TERMUX_PREFIX/include VERSION=$TERMUX_PKG_VERSION sh termkey.pc.sh > \ |
|
|
|
$PKG_CONFIG_LIBDIR/termkey.pc |
|
|
|
} |
|
|
|