2021-01-02 21:41:13 +01:00
|
|
|
TERMUX_PKG_HOMEPAGE=https://github.com/FiloSottile/age
|
|
|
|
TERMUX_PKG_DESCRIPTION="A simple, modern and secure encryption tool with small explicit keys, no config options, and UNIX-style composability"
|
|
|
|
TERMUX_PKG_LICENSE="BSD 3-Clause"
|
|
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
2021-09-20 18:04:49 +02:00
|
|
|
TERMUX_PKG_VERSION=1:1.0.0
|
2021-09-21 09:14:42 +02:00
|
|
|
TERMUX_PKG_REVISION=1
|
2021-09-20 18:04:49 +02:00
|
|
|
TERMUX_PKG_SRCURL=https://github.com/FiloSottile/age/archive/v${TERMUX_PKG_VERSION:2}.tar.gz
|
|
|
|
TERMUX_PKG_SHA256=8d27684f62f9dc74014035e31619e2e07f8b56257b1075560456cbf05ddbcfce
|
2021-01-02 21:41:13 +01:00
|
|
|
|
|
|
|
termux_step_make() {
|
|
|
|
termux_setup_golang
|
2021-07-10 16:00:18 +02:00
|
|
|
export GOPATH=$TERMUX_PKG_BUILDDIR
|
|
|
|
|
|
|
|
cd $TERMUX_PKG_SRCDIR
|
2021-01-02 21:41:13 +01:00
|
|
|
go build ./cmd/age
|
|
|
|
go build ./cmd/age-keygen
|
|
|
|
}
|
|
|
|
|
|
|
|
termux_step_make_install() {
|
|
|
|
install -Dm755 -t "${TERMUX_PREFIX}"/bin \
|
|
|
|
"${TERMUX_PKG_SRCDIR}"/age \
|
|
|
|
"${TERMUX_PKG_SRCDIR}"/age-keygen
|
|
|
|
}
|