wok annotate yuyo-gtk-theme/receipt @ rev 25075

created recipe for alsa-ucm-conf
author Hans-G?nter Theisgen
date Tue Jun 14 07:07:03 2022 +0100 (2022-06-14)
parents 34e801e0eb52
children c470ca10c896
rev   line source
yuripourre@18126 1 # SliTaz package receipt.
yuripourre@18126 2
yuripourre@18126 3 PACKAGE="yuyo-gtk-theme"
yuripourre@18126 4 VERSION="1.0"
al@19126 5 CATEGORY="customization"
yuripourre@18126 6 LICENSE="GPL3"
yuripourre@18126 7 SHORT_DESC="Yuyo is a GTK theme belonging to the Ubuntu MATE project."
yuripourre@18126 8 MAINTAINER="yuripourre@gmail.com"
yuripourre@18287 9 COMMIT_SHA="8f75db1db0f5f2f926c22384c4eb37fb2ed340b8"
yuripourre@18126 10 TARBALL="$COMMIT_SHA.zip"
pascal@20613 11 WEB_SITE="https://github.com/Acidburn0zzz/yuyo-gtk-theme"
yuripourre@18126 12 WGET_URL="$WEB_SITE/archive/$TARBALL"
al@19114 13 HOST_ARCH="any"
yuripourre@18126 14
yuripourre@18126 15 DEPENDS="gdk-pixbuf gtk2-engine-murrine"
yuripourre@18126 16 BUILD_DEPENDS="wget"
yuripourre@18126 17
pascal@24497 18 # What is the latest version available today?
pascal@24497 19 current_version()
pascal@24497 20 {
pascal@24497 21 wget -O - $WEB_SITE/commits/master 2>/dev/null | \
pascal@24974 22 sed '/Commits on/!d;s|.*on |"|;s|<.*|"|;q' | xargs date +%Y%m%d -d
pascal@24497 23 }
pascal@24497 24
yuripourre@18126 25 # Rules to gen a SliTaz package suitable for Tazpkg.
yuripourre@18126 26 genpkg_rules()
yuripourre@18126 27 {
yuripourre@18126 28 mkdir -p $fs/usr/share/themes
yuripourre@18276 29 rm -Rf $src/Yuyo/gtk-3.0
yuripourre@18126 30 rm -Rf $src/Yuyo/unity
yuripourre@18276 31 rm -Rf $src/Yuyo-Dark/gtk-3.0
yuripourre@18126 32 rm -Rf $src/Yuyo-Dark/unity
yuripourre@18126 33
yuripourre@18126 34 cp -a $src/Yuyo $fs/usr/share/themes
yuripourre@18126 35 cp -a $src/Yuyo-Dark $fs/usr/share/themes
yuripourre@18126 36 }