wok view gtk-engines/receipt @ rev 25507

plop: cleanup
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Feb 11 10:36:59 2023 +0000 (21 months ago)
parents b77195a00671
children 274c0ec61c53
line source
1 # SliTaz package receipt.
3 PACKAGE="gtk-engines"
4 VERSION="2.20.2"
5 CATEGORY="customization"
6 SHORT_DESC="All standart GTK+2 engines for themes"
7 MAINTAINER="psychomaniak@xakep.ru"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="https://linuxfromscratch.org/blfs/view/svn/x/gtk-engines.html"
11 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
13 DEPENDS="gtk+ xorg-libXdamage"
14 BUILD_DEPENDS="pkg-config file gtk+-dev"
16 current_version()
17 {
18 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
19 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
20 }
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 ./configure && make && make install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 cp -a $install/* $fs && rm -rf $fs/usr/share/locale
32 rm $fs/usr/lib/gtk-2.0/2.10.0/engines/*.la
33 cd $fs/usr/share/$PACKAGE ; sed -i '/lang/d' *
35 # This clearlooks is 5(!) years newer (+~100Kb)
36 # but there are bugs with default slitaz gtk themes
37 find $fs -regex '.*\(clearlooks\|Clearlooks\).*' \
38 -exec ls -l {} \; -delete
39 }