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-07-01 12:43:27 +02:00
|
|
|
TERMUX_PKG_VERSION=1.0.0-rc.3
|
2021-01-02 21:41:13 +01:00
|
|
|
TERMUX_PKG_SRCURL=https://github.com/FiloSottile/age/archive/v${TERMUX_PKG_VERSION}.tar.gz
|
2021-07-01 12:43:27 +02:00
|
|
|
TERMUX_PKG_SHA256=e352d8b4e08e0b493adf7ab3ea15b349fe07ab833d20395012aa516ea0c36708
|
2021-07-05 06:23:22 +02:00
|
|
|
TERMUX_PKG_BUILD_IN_SRC="true"
|
2021-01-02 21:41:13 +01:00
|
|
|
|
|
|
|
termux_step_make() {
|
|
|
|
termux_setup_golang
|
2021-07-05 06:23:22 +02:00
|
|
|
termux_go_get
|
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
|
|
|
|
}
|