wok view gtk-theme-vertex/receipt @ rev 24055
Add current_version for most github hosted softwares
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jun 08 08:46:05 2021 +0000 (2021-06-08) |
parents | 3de274310ea5 |
children | 65ff25c4de90 |
line source
1 # SliTaz package receipt.
3 PACKAGE="gtk-theme-vertex"
4 VERSION="20170128"
5 CATEGORY="customization"
6 SHORT_DESC="Aa theme for GTK 3, GTK 2, Gnome-Shell and Cinnamon."
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL3"
9 WEB_SITE="https://github.com/horst3180/vertex-theme"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz"
14 DEPENDS="gtk2-engine-murrine"
15 BUILD_DEPENDS="autoconf automake gtk+3-dev"
17 current_version()
18 {
19 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 ./autogen.sh \
27 --prefix=/usr \
28 --disable-cinnamon \
29 --disable-gnome-shell \
30 --disable-unity &&
31 make install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 cp -a $install/* $fs
38 }