wok annotate 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 c965782a38e0
rev   line source
al@19114 1 # SliTaz package receipt.
al@19114 2
al@19114 3 PACKAGE="shiki-colors"
pascal@22829 4 VERSION="4.6_8689d1d"
al@19114 5 CATEGORY="misc"
al@19114 6 SHORT_DESC="Multi-colored suite of Clearlooks themes"
al@19114 7 MAINTAINER="al.bobylev@gmail.com"
al@19114 8 LICENSE="GPL2"
al@19114 9 WEB_SITE="https://github.com/gnome-colors/gnome-colors"
pascal@22829 10 TARBALL="gnome-colors-${VERSION#*_}.tar.gz"
pascal@22829 11 WGET_URL="https://github.com/gnome-colors/gnome-colors/archive/${VERSION#*_}.tar.gz"
al@19114 12 HOST_ARCH="any"
al@19114 13
al@19114 14 DEPENDS="gtk-clearlooks"
al@19114 15 BUILD_DEPENDS=""
al@19114 16
pascal@24497 17 # What is the latest version available today?
pascal@24497 18 current_version()
pascal@24497 19 {
pascal@24497 20 wget -O - $WEB_SITE/commits/master 2>/dev/null | \
pascal@24974 21 sed '/Commits on/!d;s|.*on |"|;s|<.*|"|;q' | xargs date +%Y%m%d -d
pascal@24497 22 }
pascal@24497 23
al@19114 24 # Rules to configure and make the package.
al@19114 25 compile_rules()
al@19114 26 {
al@19114 27 for i in Brave Dust Human Illustrious Noble Wine Wise; do
al@19114 28 j="$install/usr/share/themes/Shiki-$i"
al@19114 29 mkdir -p $j
al@19114 30 cp -a $src/$PACKAGE/Shiki-$i/gtk-2.0 $j
al@19114 31 done
al@19114 32
al@19114 33 find $install -type f -exec chmod 644 \{\} \;
al@19114 34 }
al@19114 35
al@19114 36 # Rules to gen a SliTaz package suitable for Tazpkg.
al@19114 37 genpkg_rules()
al@19114 38 {
al@19114 39 cp -a $install/* $fs
al@19114 40 }