0
0
mirror of https://github.com/termux/termux-packages.git synced 2025-09-25 03:02:34 +00:00
Files
termux-packages/packages/fdroidcl/build.sh
Termux Github Actions 032cd3e706 bump(main/fdroidcl): 0.8.0
This commit has been automatically submitted by Github Actions.
2025-04-28 06:13:14 +00:00

26 lines
772 B
Bash

TERMUX_PKG_HOMEPAGE=https://github.com/mvdan/fdroidcl
TERMUX_PKG_DESCRIPTION="F-Droid client"
TERMUX_PKG_LICENSE="BSD"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION="0.8.0"
TERMUX_PKG_SRCURL=https://github.com/mvdan/fdroidcl/archive/v$TERMUX_PKG_VERSION.tar.gz
TERMUX_PKG_SHA256=917bd9e33ec895ef7de5e82e08d36a36bdf82dc9fd810520cc657be2d8d44106
TERMUX_PKG_DEPENDS="android-tools"
TERMUX_PKG_AUTO_UPDATE=true
termux_step_make() {
termux_setup_golang
export GOPATH=$TERMUX_PKG_BUILDDIR
mkdir -p "$GOPATH"/src/mvdan.cc
cp -a "$TERMUX_PKG_SRCDIR" "$GOPATH"/src/mvdan.cc/fdroidcl
cd "$GOPATH"/src/mvdan.cc/fdroidcl
go build .
}
termux_step_make_install() {
install -Dm700 "$TERMUX_PKG_BUILDDIR"/src/mvdan.cc/fdroidcl/fdroidcl \
"$TERMUX_PREFIX"/bin/fdroidcl
}