wok-next diff slitaz-configs/receipt @ rev 19775

Up gdk-pixbuf
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Jun 16 01:31:57 2017 +0300 (2017-06-16)
parents 31964b29e8cc
children 2e9df1b30cc2
line diff
     1.1 --- a/slitaz-configs/receipt	Sun Nov 20 01:03:54 2016 +0200
     1.2 +++ b/slitaz-configs/receipt	Fri Jun 16 01:31:57 2017 +0300
     1.3 @@ -1,19 +1,20 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="slitaz-configs"
     1.7 -VERSION="297"
     1.8 +VERSION="300"
     1.9  CATEGORY="base-system"
    1.10  SHORT_DESC="SliTaz config files and artwork."
    1.11  MAINTAINER="pankso@slitaz.org"
    1.12  LICENSE="GPL3"
    1.13  WEB_SITE="http://www.slitaz.org/"
    1.14 -TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.15 -WGET_URL="http://hg.slitaz.org/slitaz-configs/archive/$VERSION.tar.gz"
    1.16  HOST_ARCH="i486 arm"
    1.17 -SIBLINGS="slitaz-configs-base"
    1.18 +
    1.19 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.20 +WGET_URL="http://hg.slitaz.org/slitaz-configs/archive/$VERSION.tar.bz2"
    1.21  
    1.22  DEPENDS="slitaz-configs-base xorg-libXcomposite xorg-libXdamage \
    1.23  xorg-xcompmgr transset-df ttf-dejavu slim"
    1.24 +SIBLINGS="slitaz-configs-base"
    1.25  
    1.26  # Special case for ARM since some (most) config files are in slitaz-arm repo.
    1.27  # i486/arm common configs are provided by slitaz-configs-base.
    1.28 @@ -32,35 +33,36 @@
    1.29  	case "$ARCH" in
    1.30  		i?86)
    1.31  			make DESTDIR=$DESTDIR menu
    1.32 -			ln -s menu.en.xml $install/etc/xdg/openbox/menu.xml ;;
    1.33 +			ln -s menu.en.xml $install/etc/xdg/openbox/menu.xml
    1.34 +			;;
    1.35  	esac
    1.36  }
    1.37  
    1.38  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.39  genpkg_rules()
    1.40  {
    1.41 -	cd ${src}
    1.42  	case "$ARCH" in
    1.43  		i?86)
    1.44 -			# Copy rootfs files from the stuff and set permissions.
    1.45 +			# Copy rootfs files from the stuff
    1.46  			mkdir -p $fs/etc/xdg/openbox $fs/usr/share
    1.47  			cp -a $src/rootfs/etc/xdg/openbox $fs/etc/xdg
    1.48  		
    1.49  			# /usr/share
    1.50 -			for i in applications lxdm slim slitaz
    1.51 -			do
    1.52 +			for i in applications lxdm slim slitaz; do
    1.53  				cp -r $src/rootfs/usr/share/$i $fs/usr/share
    1.54  			done
    1.55 -			cp -a $src/rootfs/usr/bin $fs/usr
    1.56 +			cp -a $src/rootfs/usr/bin     $fs/usr
    1.57  			cp -a $src/rootfs/etc/lxpanel $fs/etc
    1.58 -			cp -a $src/rootfs/etc/slitaz $fs/etc
    1.59 +			cp -a $src/rootfs/etc/slitaz  $fs/etc
    1.60  			cp -a $install/etc/xdg/openbox/menu.en.xml \
    1.61  				$install/etc/xdg/openbox/menu.xml \
    1.62 -				$fs/etc/xdg/openbox ;;
    1.63 +				$fs/etc/xdg/openbox
    1.64 +			;;
    1.65  		arm)
    1.66  			mkdir -p $fs/usr/share
    1.67  			cp -a $src/rootfs/usr/share/applications $fs/usr/share
    1.68 -			cp -a $src/rootfs/usr/share/slitaz $fs/usr/share ;;
    1.69 +			cp -a $src/rootfs/usr/share/slitaz $fs/usr/share
    1.70 +			;;
    1.71  	esac
    1.72  
    1.73  	# Put LXPanel profile to /etc/skel for new users
    1.74 @@ -74,12 +76,13 @@
    1.75  {
    1.76  	case "$SLITAZ_ARCH" in
    1.77  		i?86)
    1.78 -			# By default slim provide a base theme and config file have both
    1.79 +			# By default SLiM provide a base theme and config file have both
    1.80  			# base and slitaz who will be choose randomly, so make sure we use
    1.81  			# only slitaz theme.
    1.82  			if grep -q 'current_theme       slitaz,base' "$1/etc/slim.conf"; then
    1.83  				sed -i s/"current_theme .*"/"current_theme       slitaz"/ \
    1.84  					"$1/etc/slim.conf"
    1.85 -			fi ;;
    1.86 +			fi
    1.87 +			;;
    1.88  	esac
    1.89  }