wok annotate clearlooks-compact/receipt @ rev 24924
Add as & asxxxx
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Apr 13 10:27:34 2022 +0000 (2022-04-13) |
parents | a78610b2eb47 |
children | 1be16cc1cd50 |
rev | line source |
---|---|
al@17884 | 1 # SliTaz package receipt. |
al@17884 | 2 |
al@17884 | 3 PACKAGE="clearlooks-compact" |
al@17884 | 4 VERSION="1.5" |
al@19126 | 5 CATEGORY="customization" |
al@17884 | 6 SHORT_DESC="Clearlooks Compact GTK Theme" |
al@17884 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@17884 | 8 LICENSE="LGPL2.1" |
pascal@20669 | 9 WEB_SITE="https://martin.ankerl.com/2007/11/04/clearlooks-compact-gnome-theme/" |
al@17884 | 10 TARBALL="ClearlooksCompact-$VERSION.tar.bz2" |
pascal@20669 | 11 WGET_URL="https://martin.ankerl.com/files/$TARBALL" |
al@19114 | 12 HOST_ARCH="any" |
al@17884 | 13 |
al@17884 | 14 DEPENDS="gtk-clearlooks" |
al@17884 | 15 |
pascal@24759 | 16 # What is the latest version available today? |
pascal@24759 | 17 current_version() |
pascal@24759 | 18 { |
pascal@24759 | 19 wget -O - $WEB_SITE 2>/dev/null | \ |
pascal@24759 | 20 sed '/ Version [0-9]/!d;s|.*sion ||;s|<.*||;q' |
pascal@24759 | 21 } |
pascal@24759 | 22 |
al@17884 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@17884 | 24 genpkg_rules() |
al@17884 | 25 { |
al@17884 | 26 CC=$fs/usr/share/themes/ClearlooksCompact |
al@17925 | 27 mkdir -p $CC $CC/gtk-2.0 |
al@17925 | 28 install -m644 -oroot -groot $src/index.theme $CC |
al@17925 | 29 install -m644 -oroot -groot $src/gtk-2.0/gtkrc $CC/gtk-2.0 |
al@17884 | 30 } |