wok annotate gtk-theme-greybird/receipt @ rev 24133
Up tazinst (115)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Oct 23 15:17:56 2021 +0000 (2021-10-23) |
parents | e3f377fbc5f0 |
children | 65ff25c4de90 |
rev | line source |
---|---|
al@19083 | 1 # SliTaz package receipt. |
al@19083 | 2 |
al@19083 | 3 PACKAGE="gtk-theme-greybird" |
al@19083 | 4 VERSION="1.6.2" |
al@19126 | 5 CATEGORY="customization" |
al@19083 | 6 SHORT_DESC="Greybird is GTK+2 and GTK+3 theme from the Shimmer Project" |
al@19083 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@19083 | 8 LICENSE="GPL2 CC-BY-SA-3" |
pascal@20673 | 9 WEB_SITE="https://github.com/shimmerproject/Greybird" |
al@19083 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@19083 | 11 WGET_URL="https://github.com/shimmerproject/Greybird/archive/v$VERSION.tar.gz" |
al@19114 | 12 HOST_ARCH="any" |
al@19083 | 13 |
al@19083 | 14 DEPENDS="gtk2-engine-murrine" |
al@19083 | 15 |
pascal@24055 | 16 current_version() |
pascal@24055 | 17 { |
pascal@24055 | 18 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ |
pascal@24055 | 19 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q' |
pascal@24055 | 20 } |
pascal@24055 | 21 |
al@19111 | 22 # Rules to configure and make the package. |
al@19111 | 23 compile_rules() |
al@19111 | 24 { |
al@19111 | 25 patch -p1 -i $stuff/define-sizes.patch |
al@19111 | 26 } |
al@19111 | 27 |
al@19083 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@19083 | 29 genpkg_rules() |
al@19083 | 30 { |
al@19083 | 31 T='/usr/share/themes/Greybird' |
al@19083 | 32 mkdir -p $fs/$T |
al@19083 | 33 cp -a \ |
al@19083 | 34 $src/gtk-2.0 \ |
al@19083 | 35 $src/gtk-3.0 \ |
al@19083 | 36 $src/xfce-notify-4.0 \ |
al@19083 | 37 $src/xfce-notify-4.0_bright \ |
al@19083 | 38 $src/index.theme \ |
al@19083 | 39 $fs/$T |
al@19083 | 40 } |