pipes.sh: Bump to 2018.04.22

Actually not essentially bumped. Just the version string is changed.
This commit is contained in:
Tee KOBAYASHI 2022-11-21 22:38:01 +09:00 committed by xtkoba
parent 989a0f4d8d
commit 0c2e7dff84
1 changed files with 16 additions and 5 deletions

View File

@ -2,14 +2,25 @@ TERMUX_PKG_HOMEPAGE=https://github.com/pipeseroni/pipes.sh
TERMUX_PKG_DESCRIPTION="Animated pipes terminal screensaver"
TERMUX_PKG_LICENSE="MIT"
TERMUX_PKG_MAINTAINER="@Efreak"
TERMUX_PKG_VERSION=2018.02.24
TERMUX_PKG_REVISION=2
TERMUX_PKG_SRCURL=https://github.com/pipeseroni/pipes.sh/archive/581792d4e0ea51e15889ba14a85db1bc9727b83d.zip
TERMUX_PKG_SHA256=79c7b29a687e24e0661e84cdc838520f6296470aa72f63d413cedd825d45fa1e
TERMUX_PKG_AUTO_UPDATE=false
_COMMIT=581792d4e0ea51e15889ba14a85db1bc9727b83d
TERMUX_PKG_VERSION=2018.04.22
TERMUX_PKG_SRCURL=https://github.com/pipeseroni/pipes.sh.git
TERMUX_PKG_GIT_BRANCH=master
TERMUX_PKG_DEPENDS=bash
TERMUX_PKG_PLATFORM_INDEPENDENT=true
termux_step_post_get_source() {
git fetch --unshallow
git checkout $_COMMIT
local version="$(git log -1 --format=%cs | sed 's/-/./g')"
if [ "$version" != "$TERMUX_PKG_VERSION" ]; then
echo -n "ERROR: The specified version \"$TERMUX_PKG_VERSION\""
echo " is different from what is expected to be: \"$version\""
return 1
fi
}
termux_step_make_install() {
cd "$TERMUX_PKG_SRCDIR"
make install PREFIX=$TERMUX_PREFIX