0
0
mirror of https://github.com/termux/termux-packages.git synced 2025-09-26 20:54:57 +00:00
Files
Termux Github Actions cd6425fffe bump(x11/mint-y-icon-theme): 1.8.6
This commit has been automatically submitted by Github Actions.
2025-09-10 18:45:12 +00:00

31 lines
1.1 KiB
Bash

TERMUX_PKG_HOMEPAGE=https://github.com/linuxmint/mint-y-icons
TERMUX_PKG_DESCRIPTION="The Mint-Y icon theme for cinnamon"
TERMUX_PKG_LICENSE="GPL-3.0"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION="1.8.6"
TERMUX_PKG_SRCURL=https://github.com/linuxmint/mint-y-icons/archive/refs/tags/${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=0f3ead0f75c916e01085b4c9f00251294e7ceec975a103b8e02b3f45635a33b1
TERMUX_PKG_AUTO_UPDATE=true
TERMUX_PKG_UPDATE_VERSION_REGEXP="\d+\.\d+\.\d+"
TERMUX_PKG_DEPENDS="hicolor-icon-theme, adwaita-icon-theme, adwaita-icon-theme-legacy, mint-x-icon-theme, gtk-update-icon-cache"
TERMUX_PKG_PLATFORM_INDEPENDENT=true
termux_pkg_auto_update() {
local latest_release
latest_release="$(git ls-remote --tags "$TERMUX_PKG_HOMEPAGE.git" \
| grep -oP "refs/tags/\K${TERMUX_PKG_UPDATE_VERSION_REGEXP}$" \
| sort -V \
| tail -n1)"
if [[ "${latest_release}" == "${TERMUX_PKG_VERSION}" ]]; then
echo "INFO: No update needed. Already at version '${TERMUX_PKG_VERSION}'."
return
fi
termux_pkg_upgrade_version "${latest_release}"
}
termux_step_make_install() {
cp -r $TERMUX_PKG_SRCDIR/usr/* $TERMUX_PREFIX/
}