cfengine: fix versioning

Issue https://github.com/termux/termux-packages/issues/6193
This commit is contained in:
Leonid Pliushch 2020-12-29 20:36:38 +02:00
parent 995f475cb3
commit 71a92321fc
No known key found for this signature in database
GPG Key ID: 45F2964132545795
1 changed files with 3 additions and 3 deletions

View File

@ -2,8 +2,8 @@ TERMUX_PKG_HOMEPAGE=https://cfengine.com/
TERMUX_PKG_DESCRIPTION="CFEngine is a configuration management technology."
TERMUX_PKG_LICENSE="GPL-3.0"
TERMUX_PKG_MAINTAINER="@cfengine"
TERMUX_PKG_VERSION=3.17.0
TERMUX_PKG_SRCURL=(https://github.com/cfengine/core/archive/3.17.0.zip
TERMUX_PKG_VERSION=1:3.17.0
TERMUX_PKG_SRCURL=(https://github.com/cfengine/core/archive/${TERMUX_PKG_VERSION:2}.zip
https://github.com/cfengine/masterfiles/archive/49b253224c5c2eb375864c9fe8145a5d1a353e00.zip
https://github.com/cfengine/libntech/archive/4e9efcb84172110fa92742836b8d34688983c2e7.zip)
TERMUX_PKG_SHA256=(55ea8e0f2e3d1cd8cee80d164c0f6d33be7bb7ac8661d74ce6c26d68e4a3967f
@ -22,7 +22,7 @@ termux_step_post_get_source() {
}
termux_step_pre_configure() {
EXPLICIT_VERSION=${TERMUX_PKG_VERSION}
EXPLICIT_VERSION=${TERMUX_PKG_VERSION:2}
LDFLAGS+=" -landroid-glob"
NO_CONFIGURE=1 ./autogen.sh $TERMUX_PKG_EXTRA_CONFIGURE_ARGS --prefix=$TERMUX_PREFIX/var/lib/cfengine --bindir=$TERMUX_PREFIX/bin