wok-current view shiki-colors/receipt @ rev 24974
Update some wget_url
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon May 02 11:23:24 2022 +0000 (2022-05-02) |
parents | 34e801e0eb52 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="shiki-colors"
4 VERSION="4.6_8689d1d"
5 CATEGORY="misc"
6 SHORT_DESC="Multi-colored suite of Clearlooks 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="gtk-clearlooks"
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"
29 mkdir -p $j
30 cp -a $src/$PACKAGE/Shiki-$i/gtk-2.0 $j
31 done
33 find $install -type f -exec chmod 644 \{\} \;
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 cp -a $install/* $fs
40 }