wok view shiki-colors/receipt @ rev 25676

Update some current_version()
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Feb 28 15:51:05 2024 +0000 (2 months ago)
parents e1e1678c5265
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 's|",|&\n|g' | sed '/committedDate/!d;s|.*":"||;s|T.*||;s|-||g;q'
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 }