wok view gtk3-engine-unico/receipt @ rev 24434
Add some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Feb 12 19:02:42 2022 +0000 (2022-02-12) |
parents | 40fab26c175d |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="gtk3-engine-unico"
4 VERSION="1.0.2"
5 CATEGORY="customization"
6 SHORT_DESC="Unico GTK3 theme engine"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="LGPL2.1"
9 WEB_SITE="https://launchpad.net/unico"
10 SOURCE="unico"
11 TARBALL="$SOURCE-$VERSION.tar.gz"
12 WGET_URL="https://launchpad.net/unico/${VERSION%.*}/$VERSION/+download/$TARBALL"
13 TAGS="gtk3"
15 DEPENDS="gtk+3"
16 BUILD_DEPENDS="gtk+3-dev wget libxml2-dev"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - $WEB_SITE 2>/dev/null | \
22 sed '/Latest version is/!d;s|.*is ||'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 ./configure \
29 --disable-static \
30 --disable-debug \
31 $CONFIGURE_ARGS &&
32 make &&
33 make install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 cp -a $install/* $fs
40 find $fs -name '*.*a' -delete
41 }