wok view gnome-icon-theme/receipt @ rev 24111

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Sep 28 17:26:43 2021 +0000 (2021-09-28)
parents 86790a278e70
children
line source
1 # SliTaz package receipt.
3 PACKAGE="gnome-icon-theme"
4 VERSION="3.12.0"
5 CATEGORY="customization"
6 SHORT_DESC="Default GNOME icon theme."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="LGPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.xz"
10 WEB_SITE="https://www.gnome.org/"
11 WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
13 BUILD_DEPENDS="icon-naming-utils intltool pkg-config gtk+"
15 current_version()
16 {
17 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
18 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
19 }
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 ./configure --prefix=/usr
25 make
26 make DESTDIR=$DESTDIR install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/share $fs/usr/lib
33 cp -a $install/usr/share/icons $fs/usr/share
34 # pkgconfig in /usr/lib
35 cp -a $install/usr/share/pkgconfig $fs/usr/lib
36 }