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