wok-current view gtk-theme-albatross/receipt @ rev 24299
Update some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jan 15 15:21:40 2022 +0000 (2022-01-15) |
parents | 5ea0ce1cecc0 |
children | 65ff25c4de90 |
line source
1 # SliTaz package receipt.
3 PACKAGE="gtk-theme-albatross"
4 VERSION="1.7.4"
5 CATEGORY="customization"
6 SHORT_DESC="Albatross 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/Albatross"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="https://github.com/shimmerproject/Albatross/archive/v$VERSION.tar.gz"
12 HOST_ARCH="any"
14 DEPENDS="gtk2-engine-murrine"
16 current_version()
17 {
18 wget -O - ${WGET_URL%/arch*}/tags 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/Albatross'
32 mkdir -p $fs/$T
33 cp -a \
34 $src/gtk-2.0 \
35 $src/gtk-3.0 \
36 $src/index.theme \
37 $fs/$T
38 }