wok-6.x annotate slitaz-configs/receipt @ rev 12259
Up: slitaz-configs to 4.9.2. There shouldn't have been 1.9.2 tag.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Tue Apr 10 14:35:05 2012 +0000 (2012-04-10) |
parents | 6b7abf333e39 |
children | acfbd6b623b6 |
rev | line source |
---|---|
pankso@274 | 1 # SliTaz package receipt. |
pankso@274 | 2 |
pankso@274 | 3 PACKAGE="slitaz-configs" |
slaxemulator@12259 | 4 VERSION="4.9.2" |
pankso@274 | 5 CATEGORY="base-system" |
pankso@655 | 6 SHORT_DESC="SliTaz config files, wallpaper and login sound." |
pankso@274 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@274 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@274 | 9 WEB_SITE="http://www.slitaz.org/" |
slaxemulator@12259 | 10 WGET_URL="http://hg.slitaz.org/slitaz-configs/archive/$VERSION.tar.gz" |
pankso@274 | 11 |
pankso@12161 | 12 DEPENDS="slitaz-configs-base xorg-libXcomposite xorg-libXdamage xorg-xcompmgr \ |
pankso@12161 | 13 transset-df lxtask lxpanel lxappearance ttf-dejavu pcmanfm slitaz-tools-boxes \ |
pankso@12161 | 14 clearlooks slim" |
pankso@12161 | 15 |
pankso@274 | 16 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@274 | 17 genpkg_rules() |
pankso@274 | 18 { |
pankso@3090 | 19 # Copy rootfs files from the stuff and set permissions. |
pankso@3086 | 20 mkdir -p $fs/etc/xdg/openbox |
pankso@9505 | 21 for f in menu.en.xml menu.xml autostart.sh 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@9505 | 25 cp -a $src/rootfs/etc/lxpanel $fs/etc |
pankso@715 | 26 chown -R root.root $fs |
pankso@274 | 27 } |
pankso@2838 | 28 |
pankso@2838 | 29 post_install() |
pankso@2838 | 30 { |
pankso@2838 | 31 # By default slim provide a base theme and config file have both |
pankso@2838 | 32 # base and slitaz who will be choose randomly, so make sure we use |
pankso@2838 | 33 # only slitaz theme. |
pankso@2838 | 34 if grep -q 'current_theme slitaz,base' $1/etc/slim.conf; then |
pankso@2838 | 35 sed -i s/"current_theme .*"/"current_theme slitaz"/ \ |
pankso@2838 | 36 $1/etc/slim.conf |
pankso@2838 | 37 fi |
pankso@2838 | 38 } |