wok-6.x view gtk-theme-bluebird/receipt @ rev 25375
Update some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jul 30 08:30:06 2022 +0000 (2022-07-30) |
parents | 8a601a9ffa93 |
children | 65ff25c4de90 |
line source
1 # SliTaz package receipt.
3 PACKAGE="gtk-theme-bluebird"
4 VERSION="1.3"
5 CATEGORY="customization"
6 SHORT_DESC="A GTK+2 and GTK+3 theme from the Shimmer Project."
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL2 CC-BY-SA-3"
9 WEB_SITE="https://github.com/shimmerproject/Bluebird"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/shimmerproject/Bluebird/archive/v$VERSION.tar.gz"
14 DEPENDS="gtk2-engine-murrine"
16 HOST_ARCH="any"
18 current_version()
19 {
20 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
21 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 patch -p1 -i $stuff/define-sizes.patch
29 dos2unix $src/gtk-2.0/bars.rc
30 dos2unix $src/gtk-2.0/gtkrc
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 T='/usr/share/themes/Bluebird'
37 mkdir -p $fs/$T
39 cp -a $src/gtk-2.0 $fs/$T
40 cp -a $src/gtk-3.0 $fs/$T
41 }