wok annotate xpenguins_themes/receipt @ rev 25491

Up foomatic-db-nonfree (20221116)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Nov 17 12:13:24 2022 +0000 (24 months ago)
parents d765616e1f3d
children 0600a43cc716
rev   line source
llevrel@18678 1 # SliTaz package receipt.
llevrel@18678 2
llevrel@18678 3 PACKAGE="xpenguins_themes"
llevrel@18678 4 VERSION="1.0"
llevrel@18678 5 CATEGORY="misc"
llevrel@18678 6 SHORT_DESC="Additional themes for XPenguins"
llevrel@18678 7 MAINTAINER="Lucas Levrel <llev@slitaz.org>"
llevrel@18678 8 LICENSE="unclear"
pascal@24979 9 WEB_SITE="https://ratrabbit.nl/ratrabbit/software/xpenguins/"
llevrel@18678 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@25024 11 WGET_URL="http://ftp.jaist.ac.jp/pub/Linux/Gentoo/distfiles/$TARBALL"
llevrel@18678 12
llevrel@18678 13 DEPENDS="xpenguins"
llevrel@18678 14 BUILD_DEPENDS=""
llevrel@18678 15
pascal@24425 16 # What is the latest version available today?
pascal@24425 17 current_version()
pascal@24425 18 {
pascal@24425 19 wget -O - ${WGET_URL%/*} 2>/dev/null | \
pascal@24425 20 sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
pascal@24425 21 }
pascal@24425 22
llevrel@18678 23 # Rules to configure and make the package.
llevrel@18678 24 compile_rules()
llevrel@18678 25 {
llevrel@18678 26 true
llevrel@18678 27 }
llevrel@18678 28
llevrel@18678 29 # Rules to gen a SliTaz package suitable for Tazpkg.
llevrel@18678 30 genpkg_rules()
llevrel@18678 31 {
al@18679 32 mkdir -p $fs/usr/share/xpenguins/themes
al@18679 33 cp -a $src/* $fs/usr/share/xpenguins/themes
llevrel@18678 34 }