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

Add as & asxxxx
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Apr 13 10:27:34 2022 +0000 (2022-04-13)
parents 409e6888e77a
children e1e1678c5265
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@24497 22 sed '/commits_list_item/!d;s|.*commits/\(.......\).*|\1|;q'
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 }