wok annotate gtk-theme-albatross/receipt @ rev 24145
ventoy: set arch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Nov 17 10:14:59 2021 +0000 (2021-11-17) |
parents | e3f377fbc5f0 |
children | ac8ca9758df1 |
rev | line source |
---|---|
al@19083 | 1 # SliTaz package receipt. |
al@19083 | 2 |
al@19083 | 3 PACKAGE="gtk-theme-albatross" |
al@19083 | 4 VERSION="1.7.4" |
al@19126 | 5 CATEGORY="customization" |
al@19083 | 6 SHORT_DESC="Albatross 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/Albatross" |
al@19083 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@19083 | 11 WGET_URL="https://github.com/shimmerproject/Albatross/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/Albatross' |
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/index.theme \ |
al@19083 | 37 $fs/$T |
al@19083 | 38 } |