wok view xfce4-icon-theme/receipt @ rev 25383

updated units (2.19 -> 2.21)
author Hans-G?nter Theisgen
date Sat Jul 30 17:22:12 2022 +0100 (2022-07-30)
parents 17091bc7c301
children
line source
1 # SliTaz package receipt.
3 PACKAGE="xfce4-icon-theme"
4 VERSION="4.4.3"
5 CATEGORY="customization"
6 SHORT_DESC="Icon theme for Xfce Desktop Environment"
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="https://www.xfce.org/"
11 WGET_URL="https://archive.xfce.org/src/art/$PACKAGE/${VERSION%.*}/$TARBALL"
13 DEPENDS=""
14 BUILD_DEPENDS="intltool"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - ${WGET_URL%/*/*}/$(wget -O - ${WGET_URL%/*/*} 2>/dev/null | \
20 sed '/href="/!d;/Index of/d;s|.*href="||;s|/.*||' | sort -Vr | sed q) 2>/dev/null | \
21 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 cd $src
28 ./configure --prefix=/usr --infodir=/usr/share/info \
29 --mandir=/usr/share/man $CONFIGURE_ARGS && \
30 make && make DESTDIR=$DESTDIR install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 # Remove SVG Icons
37 #find $install/usr/share -name "*scalable*" -exec rm -rf {} \;
39 mkdir -p $fs/usr
40 cp -a $install/usr/share $fs/usr
41 }