wok view gtk-theme-switch/receipt @ rev 25037

Up glza (0.11.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 21 21:38:29 2022 +0000 (23 months ago)
parents a78610b2eb47
children
line source
1 # SliTaz package receipt.
3 PACKAGE="gtk-theme-switch"
4 VERSION="2.1.0"
5 CATEGORY="x-window"
6 SHORT_DESC="Utility to switch and preview GTK+ theme"
7 MAINTAINER="devl547@gmail.com"
8 LICENSE="GPL2"
9 TARBALL="${PACKAGE}_${VERSION}.orig.tar.gz"
10 WEB_SITE="https://packages.qa.debian.org/g/gtk-theme-switch.html"
11 WGET_URL="http://ftp.debian.org/debian/pool/main/g/$PACKAGE/$TARBALL"
13 BUILD_DEPENDS="gtk+-dev"
14 DEPENDS="gtk+"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - ${WGET_URL%/*} 2>/dev/null | \
20 sed "/latest/d;/${PACKAGE}_/!d;/orig/!d;s|.*${PACKAGE}_\\(.*\\).orig.*\".*|\\1|" | sort -Vr | sed q
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 make
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/bin
33 cp $src/gtk-theme-switch2 $fs/usr/bin/gtk-theme-switch2
34 }