wok view gtk-theme-orion/receipt @ rev 24102

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Sep 17 10:35:57 2021 +0000 (2021-09-17)
parents 40fab26c175d
children ac8ca9758df1
line source
1 # SliTaz package receipt.
3 PACKAGE="gtk-theme-orion"
4 VERSION="1.5"
5 CATEGORY="customization"
6 SHORT_DESC="Orion 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="http://shimmerproject.org/"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="https://github.com/shimmerproject/Orion/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/Orion'
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 }