wok view gtk-engines/receipt @ rev 25783
Up verbiste (0.1.49)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Sep 24 13:23:01 2024 +0000 (6 weeks ago) |
parents | cb67b4f8be05 |
children |
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://gitlab.gnome.org/Archive/gtk-engines"
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 }