wok-current view gtk-theme-greybird/receipt @ rev 24403

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Feb 08 18:20:23 2022 +0000 (2022-02-08)
parents e3f377fbc5f0
children 65ff25c4de90
line source
1 # SliTaz package receipt.
3 PACKAGE="gtk-theme-greybird"
4 VERSION="1.6.2"
5 CATEGORY="customization"
6 SHORT_DESC="Greybird is 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/Greybird"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="https://github.com/shimmerproject/Greybird/archive/v$VERSION.tar.gz"
12 HOST_ARCH="any"
14 DEPENDS="gtk2-engine-murrine"
16 current_version()
17 {
18 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
19 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
20 }
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 patch -p1 -i $stuff/define-sizes.patch
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 T='/usr/share/themes/Greybird'
32 mkdir -p $fs/$T
33 cp -a \
34 $src/gtk-2.0 \
35 $src/gtk-3.0 \
36 $src/xfce-notify-4.0 \
37 $src/xfce-notify-4.0_bright \
38 $src/index.theme \
39 $fs/$T
40 }