wok-6.x view clearlooks/receipt @ rev 25460
Update sourceforge.net web_sites with https://
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Sep 28 08:10:35 2022 +0000 (2022-09-28) |
parents | d8c511e24c20 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="clearlooks"
4 VERSION="0.6.2"
5 CATEGORY="x-window"
6 SHORT_DESC="Clearlooks GTK+ theme."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="https://clearlooks.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 HOST_ARCH="i486 arm"
14 DEPENDS="gtk+ xorg-libXdamage"
15 BUILD_DEPENDS="pkg-config file gtk+-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://sourceforge.net/projects/clearlooks/files/clearlooks/ 2>/dev/null | \
21 sed '/scope="row/!d;/clearlooks%/!d;s|.*href="|https://sourceforge.net|;s|/".*||' | sort -Vr | sed q | xargs wget -O - 2>/dev/null | \
22 sed '/scope="row/!d;s|.*/clearlooks-||;s|.tar.*||' | sort -Vr | sed q
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 ./configure \
29 $CONFIGURE_ARGS &&
30 make && make install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 cp -a $install/* $fs
37 rm $fs/usr/lib/gtk-2.0/2.10.0/engines/*.la
38 rm -rf $fs/usr/share/icons
39 }