wok annotate slitaz-backgrounds/receipt @ rev 19065
Take care on root in post_install
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Apr 21 09:45:48 2016 +0200 (2016-04-21) |
parents | 762b649a4d73 |
children | 03ccd15b9fa1 |
rev | line source |
---|---|
hackdorte@18329 | 1 # SliTaz package receipt. |
hackdorte@18329 | 2 |
hackdorte@18329 | 3 PACKAGE="slitaz-backgrounds" |
al@19001 | 4 COMMIT="8f027a0" # Better use https://github.com/hackdorte/slitaz-backgrounds/releases |
hackdorte@19000 | 5 VERSION="2.1" |
hackdorte@18329 | 6 CATEGORY="x-window" |
hackdorte@18980 | 7 SHORT_DESC="Additional backgrounds for Slitaz GNU/Linux." |
hackdorte@18329 | 8 MAINTAINER="hackdorte@sapo.pt" |
hackdorte@18980 | 9 LICENSE="PublicDomain" |
hackdorte@18980 | 10 WEB_SITE="https://github.com/hackdorte/slitaz-backgrounds" |
hackdorte@18329 | 11 |
al@19001 | 12 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@19001 | 13 WGET_URL="$WEB_SITE/archive/$COMMIT.tar.gz" |
hackdorte@18329 | 14 |
hackdorte@18329 | 15 # Rules to configure and make the package. |
hackdorte@18329 | 16 compile_rules() |
hackdorte@18329 | 17 { |
hackdorte@18858 | 18 mkdir -p $install/usr/share/images |
hackdorte@18858 | 19 cp -a $src/* $install/usr/share/images |
hackdorte@18329 | 20 } |
hackdorte@18329 | 21 |
hackdorte@18329 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
hackdorte@18329 | 23 genpkg_rules() |
hackdorte@18329 | 24 { |
hackdorte@18329 | 25 cp -a $install/* $fs |
hackdorte@18329 | 26 } |
hackdorte@18980 | 27 |
hackdorte@18980 | 28 post_install() |
hackdorte@18980 | 29 { |
pascal@19065 | 30 rm -irf $1/usr/share/images/README.md |
hackdorte@18980 | 31 } |