wok view slitaz-backgrounds/receipt @ rev 25600
Update some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jul 16 15:14:43 2023 +0000 (16 months ago) |
parents | 5ea0ce1cecc0 |
children | 0262035dc1e7 |
line source
1 # SliTaz package receipt.
3 PACKAGE="slitaz-backgrounds"
4 VERSION="2.1"
5 CATEGORY="x-window"
6 SHORT_DESC="Additional backgrounds for Slitaz GNU/Linux."
7 MAINTAINER="hackdorte@sapo.pt"
8 LICENSE="PublicDomain"
9 WEB_SITE="https://github.com/SliTaz-official/hackdorte-artwork"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://people.slitaz.org/~leonardolaporte/lab.slitaz/5.0/src/$TARBALL"
14 # What is the latest version available today?
15 current_version()
16 {
17 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
18 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
19 }
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 mkdir -p $install/usr/share/images
25 cp -a $src/* $install/usr/share/images
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 cp -a $install/* $fs
32 }
34 post_install()
35 {
36 rm -irf $1/usr/share/images/README.md
37 }