From 9db621c0241f6e9826366fd2513666e47147caf5 Mon Sep 17 00:00:00 2001 From: Fredrik Fornwall Date: Mon, 19 Sep 2016 19:07:44 -0400 Subject: [PATCH] taslwarrior: Keep share/doc Fixes #451. --- build-package.sh | 8 ++++++-- packages/taskwarrior/build.sh | 2 ++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/build-package.sh b/build-package.sh index dd72ed7d0..c2fc6a328 100755 --- a/build-package.sh +++ b/build-package.sh @@ -370,8 +370,12 @@ termux_step_massage () { rm -Rf share/info fi - # Remove other docs: - rm -Rf share/doc share/locale + # Remove locale files we're not interested in:: + rm -Rf share/locale + if [ -z ${TERMUX_PKG_KEEP_SHARE_DOC+x} ]; then + # Remove info pages: + rm -Rf share/doc + fi # Remove old kept libraries (readline): find . -name '*.old' -delete diff --git a/packages/taskwarrior/build.sh b/packages/taskwarrior/build.sh index fc8ec2531..76afc29b5 100644 --- a/packages/taskwarrior/build.sh +++ b/packages/taskwarrior/build.sh @@ -1,8 +1,10 @@ TERMUX_PKG_HOMEPAGE=https://taskwarrior.org TERMUX_PKG_DESCRIPTION="Utility for managing your TODO list" TERMUX_PKG_VERSION=2.5.1 +TERMUX_PKG_BUILD_REVISION=1 TERMUX_PKG_SRCURL=https://taskwarrior.org/download/task-${TERMUX_PKG_VERSION}.tar.gz TERMUX_PKG_DEPENDS="libgnutls, libuuid, libandroid-glob" +TERMUX_PKG_KEEP_SHARE_DOC=yes termux_step_pre_configure() { LDFLAGS+=" -landroid-glob"