wok-current view slitaz-backgrounds/receipt @ rev 25477

icedtea6-jdk: find output to variable
author Hans-G?nter Theisgen
date Thu Oct 13 17:53:47 2022 +0100 (2022-10-13)
parents 5ea0ce1cecc0
children
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 }