termux-packages/packages/git-crypt/build.sh

22 lines
757 B
Bash
Raw Normal View History

2018-09-23 03:09:12 +02:00
TERMUX_PKG_HOMEPAGE=https://www.agwa.name/projects/git-crypt/
2019-06-19 20:31:32 +02:00
TERMUX_PKG_DESCRIPTION="Enables transparent encryption and decryption of files for a git repository"
2019-01-21 13:53:58 +01:00
TERMUX_PKG_LICENSE="GPL-3.0"
2018-09-23 03:09:12 +02:00
TERMUX_PKG_MAINTAINER="@jottr"
2019-06-19 20:31:32 +02:00
TERMUX_PKG_VERSION=0.6.0
TERMUX_PKG_REVISION=2
2019-06-19 20:31:32 +02:00
TERMUX_PKG_SRCURL=https://github.com/AGWA/git-crypt/archive/${TERMUX_PKG_VERSION}.tar.gz
2018-09-23 03:09:12 +02:00
TERMUX_PKG_SHA256=777c0c7aadbbc758b69aff1339ca61697011ef7b92f1d1ee9518a8ee7702bb78
2019-06-19 20:31:32 +02:00
TERMUX_PKG_DEPENDS="git, libc++, openssl"
2018-09-23 03:09:12 +02:00
TERMUX_PKG_EXTRA_CONFIGURE_ARGS=" -DCMAKE_BUILD_TYPE=Release -Dbuild_parse=yes -Dbuild_xmlparser=yes"
TERMUX_PKG_EXTRA_MAKE_ARGS="make ENABLE_MAN=yes"
termux_step_make() {
2018-09-23 03:09:12 +02:00
cd $TERMUX_PKG_SRCDIR
2018-09-23 13:26:25 +02:00
make
2018-09-23 03:09:12 +02:00
}
termux_step_make_install() {
2018-09-23 03:09:12 +02:00
cd $TERMUX_PKG_SRCDIR
2018-09-23 13:26:25 +02:00
make install
2018-09-23 03:09:12 +02:00
}