wok-current annotate get-community-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 f671f3a6699d
children ead6a835d5b5
rev   line source
hackdorte@18985 1 # SliTaz package receipt.
hackdorte@18985 2
hackdorte@18985 3 PACKAGE="get-community-backgrounds"
hackdorte@18985 4 VERSION="001"
hackdorte@18985 5 CATEGORY="x-window"
hackdorte@18985 6 SHORT_DESC="Beautiful wallpapers created by the Slitaz Community."
hackdorte@18985 7 MAINTAINER="hackdorte@sapo.pt"
hackdorte@18985 8 LICENSE="BSD"
hackdorte@18985 9 WEB_SITE="https://github.com/hackdorte/slitaz-community-backgrounds"
hackdorte@18985 10 TAGS="artwork background wallpaper"
hackdorte@18985 11
hackdorte@18985 12 # Rules to gen a SliTaz package suitable for Tazpkg.
hackdorte@18985 13 genpkg_rules()
hackdorte@18985 14 {
hackdorte@18985 15 mkdir -p $fs/usr/bin
hackdorte@18985 16 cp stuff/* $fs/usr/bin
hackdorte@18985 17 }
hackdorte@18985 18 post_install()
hackdorte@18985 19 {
pascal@19065 20 [ "$1" ] || get-community-backgrounds
hackdorte@18985 21 }