wok annotate gtk-theme-bluebird/receipt @ rev 25611
Add zx0
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Aug 01 18:37:27 2023 +0000 (14 months ago) |
parents | 65ff25c4de90 |
children |
rev | line source |
---|---|
al@19083 | 1 # SliTaz package receipt. |
al@19083 | 2 |
al@19083 | 3 PACKAGE="gtk-theme-bluebird" |
Hans-G?nter@22901 | 4 VERSION="1.3" |
al@19126 | 5 CATEGORY="customization" |
Hans-G?nter@22901 | 6 SHORT_DESC="A 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/Bluebird" |
Hans-G?nter@22901 | 10 |
al@19083 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@19083 | 12 WGET_URL="https://github.com/shimmerproject/Bluebird/archive/v$VERSION.tar.gz" |
al@19083 | 13 |
al@19083 | 14 DEPENDS="gtk2-engine-murrine" |
al@19083 | 15 |
Hans-G?nter@22901 | 16 HOST_ARCH="any" |
Hans-G?nter@22901 | 17 |
pascal@25465 | 18 # What is the latest version available today? |
pascal@24055 | 19 current_version() |
pascal@24055 | 20 { |
pascal@24055 | 21 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ |
pascal@25599 | 22 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q' |
pascal@24055 | 23 } |
pascal@24055 | 24 |
al@19111 | 25 # Rules to configure and make the package. |
al@19111 | 26 compile_rules() |
al@19111 | 27 { |
al@19111 | 28 patch -p1 -i $stuff/define-sizes.patch |
Hans-G?nter@22901 | 29 |
al@19111 | 30 dos2unix $src/gtk-2.0/bars.rc |
al@19111 | 31 dos2unix $src/gtk-2.0/gtkrc |
al@19111 | 32 } |
al@19111 | 33 |
al@19083 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@19083 | 35 genpkg_rules() |
al@19083 | 36 { |
al@19083 | 37 T='/usr/share/themes/Bluebird' |
al@19083 | 38 mkdir -p $fs/$T |
Hans-G?nter@22901 | 39 |
Hans-G?nter@22901 | 40 cp -a $src/gtk-2.0 $fs/$T |
Hans-G?nter@22901 | 41 cp -a $src/gtk-3.0 $fs/$T |
al@19083 | 42 } |