wok annotate slitaz-configs/receipt @ rev 14758

slitaz-configs: fix WGET_URL
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jun 18 15:41:31 2013 +0200 (2013-06-18)
parents 372dd84badab
children 727f65a6191b
rev   line source
pankso@274 1 # SliTaz package receipt.
pankso@274 2
pankso@274 3 PACKAGE="slitaz-configs"
pascal@14757 4 VERSION="5.1.4"
pankso@274 5 CATEGORY="base-system"
pankso@12411 6 SHORT_DESC="SliTaz config files and artwork."
pankso@274 7 MAINTAINER="pankso@slitaz.org"
pankso@274 8 WEB_SITE="http://www.slitaz.org/"
pascal@14355 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@14758 10 WGET_URL="http://hg.slitaz.org/slitaz-configs/archive/$VERSION.tar.gz"
slaxemulator@13650 11 CONFIG_FILES="/etc/slitaz/applications.conf"
pankso@274 12
pankso@12161 13 DEPENDS="slitaz-configs-base xorg-libXcomposite xorg-libXdamage xorg-xcompmgr \
pankso@12411 14 transset-df ttf-dejavu slitaz-tools-boxes clearlooks slim"
pankso@12161 15
pankso@274 16 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@274 17 genpkg_rules()
slaxemulator@13650 18 {
pankso@3090 19 # Copy rootfs files from the stuff and set permissions.
pankso@12411 20 mkdir -p $fs/etc/xdg/openbox $fs/usr/share
pankso@12684 21 for f in menu.en.xml menu.xml autostart environment rc.xml
pankso@9505 22 do
slaxemulator@9560 23 cp -a $src/rootfs/etc/xdg/openbox/$f $fs/etc/xdg/openbox
pankso@9505 24 done
pankso@12411 25 # /usr/share
pankso@12411 26 for i in applications lxdm slim slitaz
pankso@12411 27 do
pankso@12411 28 cp -r $src/rootfs/usr/share/$i $fs/usr/share
pankso@12411 29 done
slaxemulator@13650 30 cp -a $src/rootfs/usr/bin $fs/usr
pankso@9505 31 cp -a $src/rootfs/etc/lxpanel $fs/etc
slaxemulator@13650 32 cp -a $src/rootfs/etc/slitaz $fs/etc
pankso@715 33 chown -R root.root $fs
pankso@274 34 }
pankso@2838 35
pankso@2838 36 post_install()
pankso@2838 37 {
pankso@2838 38 # By default slim provide a base theme and config file have both
pankso@2838 39 # base and slitaz who will be choose randomly, so make sure we use
pankso@2838 40 # only slitaz theme.
pankso@2838 41 if grep -q 'current_theme slitaz,base' $1/etc/slim.conf; then
pankso@2838 42 sed -i s/"current_theme .*"/"current_theme slitaz"/ \
pankso@2838 43 $1/etc/slim.conf
pankso@2838 44 fi
pankso@2838 45 }