wok annotate clearlooks/receipt @ rev 24538

updated fbcat (0.5.1 -> 0.5.2)
author Hans-G?nter Theisgen
date Wed Feb 23 15:14:49 2022 +0100 (2022-02-23)
parents 128aae84d74c
children 7dd01dedad38
rev   line source
pankso@44 1 # SliTaz package receipt.
pankso@44 2
pankso@44 3 PACKAGE="clearlooks"
pankso@5166 4 VERSION="0.6.2"
pankso@209 5 CATEGORY="x-window"
pankso@44 6 SHORT_DESC="Clearlooks GTK+ theme."
pankso@44 7 MAINTAINER="pankso@slitaz.org"
pascal@15579 8 LICENSE="GPL2"
pankso@5166 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@15579 10 WEB_SITE="http://clearlooks.sourceforge.net/"
pascal@15579 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pankso@16248 12 HOST_ARCH="i486 arm"
pascal@15579 13
pascal@2513 14 DEPENDS="gtk+ xorg-libXdamage"
pascal@1514 15 BUILD_DEPENDS="pkg-config file gtk+-dev"
pankso@44 16
pascal@24491 17 # What is the latest version available today?
pascal@24491 18 current_version()
pascal@24491 19 {
pascal@24491 20 wget -O - https://sourceforge.net/projects/clearlooks/files/clearlooks/ 2>/dev/null | \
pascal@24491 21 sed '/scope="row/!d;/clearlooks%/!d;s|.*href="|https://sourceforge.net|;s|/".*||' | sort -Vr | sed q | xargs wget -O - 2>/dev/null | \
pascal@24491 22 sed '/scope="row/!d;s|.*/clearlooks-||;s|.tar.*||' | sort -Vr | sed q
pascal@24491 23 }
pascal@24491 24
pankso@44 25 # Rules to configure and make the package.
pankso@44 26 compile_rules()
pankso@44 27 {
pankso@547 28 ./configure \
pascal@1465 29 $CONFIGURE_ARGS &&
pankso@16248 30 make && make install
pankso@44 31 }
pankso@44 32
pankso@44 33 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@44 34 genpkg_rules()
pankso@44 35 {
pascal@15579 36 cp -a $install/* $fs
pankso@5166 37 rm $fs/usr/lib/gtk-2.0/2.10.0/engines/*.la
pankso@5166 38 rm -rf $fs/usr/share/icons
pankso@44 39 }