wok view yuyo-gtk-theme/receipt @ rev 25445

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