Browse Source

taslwarrior: Keep share/doc

Fixes #451.
android-5
Fredrik Fornwall 8 years ago
parent
commit
9db621c024
  1. 8
      build-package.sh
  2. 2
      packages/taskwarrior/build.sh

8
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

2
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"

Loading…
Cancel
Save