logo-ls: migrate to maintained fork
Signed-off-by: Kevin Williams <admin@utermux.dev>
This commit is contained in:
parent
d627705e20
commit
a5f6bd9bf3
|
@ -2,12 +2,30 @@ TERMUX_PKG_HOMEPAGE=https://github.com/Yash-Handa/logo-ls
|
|||
TERMUX_PKG_DESCRIPTION="Modern ls command with vscode like File Icon and Git Integrations"
|
||||
TERMUX_PKG_LICENSE="MIT"
|
||||
TERMUX_PKG_MAINTAINER="@termux"
|
||||
TERMUX_PKG_VERSION=1.3.7
|
||||
TERMUX_PKG_REVISION=3
|
||||
TERMUX_PKG_SRCURL=https://github.com/Yash-Handa/logo-ls/archive/refs/tags/v${TERMUX_PKG_VERSION}.tar.gz
|
||||
TERMUX_PKG_SHA256=4753eb26c3e763b20249587a048ea5997544521909968aa082f3ef6f396dc65e
|
||||
_COMMIT=96bd6044d7a5270bd32458a7d0f38caf7fd5ee53
|
||||
TERMUX_PKG_VERSION="2023.08.18"
|
||||
TERMUX_PKG_SRCURL=git+https://github.com/canta2899/logo-ls
|
||||
TERMUX_PKG_SHA256=2e86813bd10113c7b69fd5914dcd18ead4eb4dda9b50d951c5380cbf4a685e79
|
||||
TERMUX_PKG_GIT_BRANCH="main"
|
||||
TERMUX_PKG_BUILD_IN_SRC=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
|
||||
|
||||
local s=$(find . -type f ! -path '*/.git/*' -print0 | xargs -0 sha256sum | LC_ALL=C sort | sha256sum)
|
||||
if [[ "${s}" != "${TERMUX_PKG_SHA256} "* ]]; then
|
||||
termux_error_exit "Checksum mismatch for source files."
|
||||
fi
|
||||
}
|
||||
|
||||
termux_step_pre_configure() {
|
||||
termux_setup_golang
|
||||
|
||||
|
|
Loading…
Reference in New Issue