wok-current view shiki-colors-murrine/receipt @ rev 24992
Up sip (4.19.25)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat May 14 18:19:29 2022 +0000 (2022-05-14) |
parents | 34e801e0eb52 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="shiki-colors-murrine"
4 VERSION="4.6_8689d1d"
5 CATEGORY="misc"
6 SHORT_DESC="Multi-colored suite of Murrine themes"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="https://github.com/gnome-colors/gnome-colors"
10 TARBALL="gnome-colors-${VERSION#*_}.tar.gz"
11 WGET_URL="https://github.com/gnome-colors/gnome-colors/archive/${VERSION#*_}.tar.gz"
12 HOST_ARCH="any"
14 DEPENDS="gtk2-engine-murrine"
15 BUILD_DEPENDS=""
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - $WEB_SITE/commits/master 2>/dev/null | \
21 sed '/Commits on/!d;s|.*on |"|;s|<.*|"|;q' | xargs date +%Y%m%d -d
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 for i in Brave Dust Human Illustrious Noble Wine Wise; do
28 j="$install/usr/share/themes/Shiki-$i-murrine"
29 mkdir -p $j
30 cp -a $src/$PACKAGE/Shiki-$i/gtk-2.0 $j
31 sed -i 's|^[ \t]*gradients|#\0|' $j/gtk-2.0/gtkrc
32 done
34 find $install -type f -exec chmod 644 \{\} \;
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 cp -a $install/* $fs
41 }