termux-packages/packages/pass/build.sh
Henrik Grimler 7dd380ac70 pass-otp: add package (#2466)
* build-package.sh: add TERMUX_PKG_SUGGESTS

See https://www.debian.org/doc/debian-policy/#binary-dependencies-depends-recommends-suggests-enhances-pre-depends

* pass-otp: add package

Useful for services that require two factor authentication

Add libqrencode as SUGGESTS

* libqrencode: add package

* pass: bump package, add pass-otp as suggested package

Also add git as RECOMMENDS. Maybe pass-otp should be RECOMMENDS as well?
2018-06-04 01:35:38 +02:00

15 lines
683 B
Bash

TERMUX_PKG_HOMEPAGE=https://www.passwordstore.org/
TERMUX_PKG_DESCRIPTION="Lightweight directory-based password manager"
TERMUX_PKG_VERSION=1.7.1
TERMUX_PKG_REVISION=4
TERMUX_PKG_SRCURL=https://git.zx2c4.com/password-store/snapshot/password-store-${TERMUX_PKG_VERSION}.tar.xz
TERMUX_PKG_BUILD_IN_SRC=yes
# Depend on coreutils as pass uses [:graph:] when calling tr, which
# busybox tr does not support:
TERMUX_PKG_DEPENDS="bash, gnupg2, tree, coreutils"
TERMUX_PKG_RECOMMENDS="git"
TERMUX_PKG_SUGGESTS="pass-otp"
TERMUX_PKG_PLATFORM_INDEPENDENT=yes
TERMUX_PKG_EXTRA_MAKE_ARGS="PREFIX=$TERMUX_PREFIX"
TERMUX_PKG_SHA256=f6d2199593398aaefeaa55e21daddfb7f1073e9e096af6d887126141e99d9869