wok annotate 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
rev   line source
erjo@2073 1 # SliTaz package receipt.
erjo@2073 2
erjo@2073 3 PACKAGE="xfce4-icon-theme"
erjo@2073 4 VERSION="4.4.3"
al@19126 5 CATEGORY="customization"
erjo@2073 6 SHORT_DESC="Icon theme for Xfce Desktop Environment"
erjo@2073 7 MAINTAINER="erjo@slitaz.org"
pascal@15579 8 LICENSE="GPL2"
erjo@2073 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@20669 10 WEB_SITE="https://www.xfce.org/"
pascal@24972 11 WGET_URL="https://archive.xfce.org/src/art/$PACKAGE/${VERSION%.*}/$TARBALL"
erjo@2073 12
pascal@15579 13 DEPENDS=""
pascal@15579 14 BUILD_DEPENDS="intltool"
pascal@15579 15
pascal@24415 16 # What is the latest version available today?
pascal@24415 17 current_version()
pascal@24415 18 {
pascal@24415 19 wget -O - ${WGET_URL%/*/*}/$(wget -O - ${WGET_URL%/*/*} 2>/dev/null | \
pascal@24415 20 sed '/href="/!d;/Index of/d;s|.*href="||;s|/.*||' | sort -Vr | sed q) 2>/dev/null | \
pascal@24415 21 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q
pascal@24415 22 }
pascal@24415 23
erjo@2073 24 # Rules to configure and make the package.
erjo@2073 25 compile_rules()
erjo@2073 26 {
erjo@2073 27 cd $src
erjo@2073 28 ./configure --prefix=/usr --infodir=/usr/share/info \
erjo@2073 29 --mandir=/usr/share/man $CONFIGURE_ARGS && \
pascal@15579 30 make && make DESTDIR=$DESTDIR install
erjo@2073 31 }
erjo@2073 32
erjo@2073 33 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@2073 34 genpkg_rules()
erjo@2073 35 {
erjo@2073 36 # Remove SVG Icons
pascal@15579 37 #find $install/usr/share -name "*scalable*" -exec rm -rf {} \;
erjo@2073 38
erjo@2073 39 mkdir -p $fs/usr
pascal@15579 40 cp -a $install/usr/share $fs/usr
erjo@2073 41 }