0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-12-11 23:00:52 +00:00
Termux Github Actions 7fd9a7c559 bump(main/pdfcpu): 0.9.1
This commit has been automatically submitted by Github Actions.
2024-10-24 12:16:40 +00:00

21 lines
633 B
Bash

TERMUX_PKG_HOMEPAGE="https://pdfcpu.io"
TERMUX_PKG_DESCRIPTION="A PDF processor written in Go"
TERMUX_PKG_LICENSE="Apache-2.0"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION="0.9.1"
TERMUX_PKG_SRCURL="https://github.com/pdfcpu/pdfcpu/archive/refs/tags/v$TERMUX_PKG_VERSION.tar.gz"
TERMUX_PKG_SHA256=79572e599deddfaa72109f3e029b74b8cd6070657355e8cc9d8c7fb91da73c71
TERMUX_PKG_AUTO_UPDATE=true
TERMUX_PKG_BUILD_IN_SRC=true
termux_step_make() {
termux_setup_golang
cd "${TERMUX_PKG_SRCDIR}/cmd/pdfcpu"
go build
}
termux_step_make_install() {
install -Dm700 "${TERMUX_PKG_SRCDIR}/cmd/pdfcpu/pdfcpu" \
"$TERMUX_PREFIX/bin/"
}