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

Up lzsa (1.3.11)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun May 01 08:42:44 2022 +0000 (2022-05-01)
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 }