diff --git a/packages/libtalloc/build.sh b/packages/libtalloc/build.sh index c915652ed..d8310ed0a 100644 --- a/packages/libtalloc/build.sh +++ b/packages/libtalloc/build.sh @@ -2,11 +2,11 @@ TERMUX_PKG_HOMEPAGE=https://talloc.samba.org/talloc/doc/html/index.html TERMUX_PKG_DESCRIPTION="Hierarchical, reference counted memory pool system with destructors" TERMUX_PKG_LICENSE="GPL-3.0" TERMUX_PKG_VERSION=2.1.14 -TERMUX_PKG_REVISION=2 +TERMUX_PKG_REVISION=3 +TERMUX_PKG_SRCURL=https://www.samba.org/ftp/talloc/talloc-${TERMUX_PKG_VERSION}.tar.gz TERMUX_PKG_SHA256=b185602756a628bac507fa8af8b9df92ace69d27c0add5dab93190ad7c3367ce TERMUX_PKG_BREAKS="libtalloc-dev" TERMUX_PKG_REPLACES="libtalloc-dev" -TERMUX_PKG_SRCURL=https://www.samba.org/ftp/talloc/talloc-${TERMUX_PKG_VERSION}.tar.gz TERMUX_PKG_BUILD_IN_SRC=true termux_step_configure() { @@ -58,3 +58,9 @@ EOF --cross-compile \ --cross-answers=cross-answers.txt } + +termux_step_post_make_install() { + cd $TERMUX_PKG_SRCDIR/bin/default + $AR rcu libtalloc.a talloc_*.o + install -Dm600 libtalloc.a $TERMUX_PREFIX/lib/libtalloc.a +}