wok annotate gtk-theme-switch/receipt @ rev 25533

nfs-utils: made stop and restart working in /etc/init.d/nfsd
author Hans-G?nter Theisgen
date Tue Feb 28 14:41:52 2023 +0100 (20 months ago)
parents a78610b2eb47
children
rev   line source
devl547@5633 1 # SliTaz package receipt.
devl547@5633 2
devl547@5633 3 PACKAGE="gtk-theme-switch"
devl547@5633 4 VERSION="2.1.0"
pascal@5723 5 CATEGORY="x-window"
devl547@5633 6 SHORT_DESC="Utility to switch and preview GTK+ theme"
devl547@5633 7 MAINTAINER="devl547@gmail.com"
pascal@15589 8 LICENSE="GPL2"
al@19001 9 TARBALL="${PACKAGE}_${VERSION}.orig.tar.gz"
pascal@20669 10 WEB_SITE="https://packages.qa.debian.org/g/gtk-theme-switch.html"
devl547@5633 11 WGET_URL="http://ftp.debian.org/debian/pool/main/g/$PACKAGE/$TARBALL"
pascal@15589 12
devl547@5633 13 BUILD_DEPENDS="gtk+-dev"
devl547@5633 14 DEPENDS="gtk+"
devl547@5633 15
pascal@24419 16 # What is the latest version available today?
pascal@24419 17 current_version()
pascal@24419 18 {
pascal@24419 19 wget -O - ${WGET_URL%/*} 2>/dev/null | \
pascal@24419 20 sed "/latest/d;/${PACKAGE}_/!d;/orig/!d;s|.*${PACKAGE}_\\(.*\\).orig.*\".*|\\1|" | sort -Vr | sed q
pascal@24419 21 }
pascal@24419 22
devl547@5633 23 # Rules to configure and make the package.
devl547@5633 24 compile_rules()
devl547@5633 25 {
devl547@5633 26 make
devl547@5633 27 }
devl547@5633 28
devl547@5633 29 # Rules to gen a SliTaz package suitable for Tazpkg.
devl547@5633 30 genpkg_rules()
devl547@5633 31 {
devl547@5633 32 mkdir -p $fs/usr/bin
devl547@5633 33 cp $src/gtk-theme-switch2 $fs/usr/bin/gtk-theme-switch2
devl547@5633 34 }