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

updated phpeasyvcs (1.0 -> 2.0)
author Hans-G?nter Theisgen
date Wed Jun 29 10:51:43 2022 +0100 (2022-06-29)
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 }