wok-next rev 19616

Up elementary-icon-theme, faenza-icon-theme.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Feb 04 16:26:28 2017 +0200 (2017-02-04)
parents d99440f42774
children 7c50dfc88e2a
files elementary-icon-theme/receipt elementaryicons/receipt faenza-icon-theme-emblems/receipt faenza-icon-theme/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/elementary-icon-theme/receipt	Sat Feb 04 16:26:28 2017 +0200
     1.3 @@ -0,0 +1,27 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="elementary-icon-theme"
     1.7 +VERSION="4.0.2"
     1.8 +CATEGORY="customization"
     1.9 +SHORT_DESC="Smooth modern theme designed to be intuitive"
    1.10 +MAINTAINER="al.bobylev@gmail.com"
    1.11 +LICENSE="GPL3"
    1.12 +WEB_SITE="https://launchpad.net/elementaryicons"
    1.13 +
    1.14 +TARBALL="$PACKAGE-$VERSION.tar.xz"
    1.15 +WGET_URL="$WEB_SITE/${VERSION%%.*}.x/$VERSION/+download/$TARBALL"
    1.16 +
    1.17 +#BUILD_DEPENDS="wget cacerts"
    1.18 +
    1.19 +# Rules to configure and make the package.
    1.20 +compile_rules()
    1.21 +{
    1.22 +	mkdir -p $install/usr/share/icons/elementary
    1.23 +	cp -a $src/* $install/usr/share/icons/elementary
    1.24 +}
    1.25 +
    1.26 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.27 +genpkg_rules()
    1.28 +{
    1.29 +	cp -a $install/* $fs
    1.30 +}
     2.1 --- a/elementaryicons/receipt	Sat Feb 04 15:52:11 2017 +0200
     2.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.3 @@ -1,27 +0,0 @@
     2.4 -# SliTaz package receipt.
     2.5 -
     2.6 -PACKAGE="elementaryicons"
     2.7 -VERSION="3.1"
     2.8 -CATEGORY="customization"
     2.9 -SHORT_DESC="Smooth modern theme designed to be intuitive"
    2.10 -MAINTAINER="al.bobylev@gmail.com"
    2.11 -LICENSE="GPL3"
    2.12 -WEB_SITE="https://launchpad.net/elementaryicons"
    2.13 -TARBALL="$PACKAGE$VERSION.tar.gz"
    2.14 -WGET_URL="$WEB_SITE/${VERSION%%.*}.x/$VERSION/+download/$TARBALL"
    2.15 -
    2.16 -DEPENDS=""
    2.17 -BUILD_DEPENDS="wget cacerts"
    2.18 -
    2.19 -# Rules to configure and make the package.
    2.20 -compile_rules()
    2.21 -{
    2.22 -	mkdir -p $install/usr/share/icons/elementary
    2.23 -	cp -a $src/* $install/usr/share/icons/elementary
    2.24 -}
    2.25 -
    2.26 -# Rules to gen a SliTaz package suitable for Tazpkg.
    2.27 -genpkg_rules()
    2.28 -{
    2.29 -	cp -a $install/* $fs
    2.30 -}
     3.1 --- a/faenza-icon-theme-emblems/receipt	Sat Feb 04 15:52:11 2017 +0200
     3.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.3 @@ -1,39 +0,0 @@
     3.4 -# SliTaz package receipt.
     3.5 -
     3.6 -PACKAGE="faenza-icon-theme-emblems"
     3.7 -VERSION="1.3"
     3.8 -CATEGORY="customization"
     3.9 -SHORT_DESC="Faenza icon theme (emblems)"
    3.10 -MAINTAINER="al.bobylev@gmail.com"
    3.11 -LICENSE="GPL3"
    3.12 -WEB_SITE="http://tiheum.deviantart.com/art/Faenza-Icons-173323228"
    3.13 -
    3.14 -WANTED="faenza-icon-theme"
    3.15 -DEPENDS="faenza-icon-theme"
    3.16 -
    3.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
    3.18 -genpkg_rules()
    3.19 -{
    3.20 -	mkdir -p $fs/usr/share/icons
    3.21 -	cd $fs/usr/share/icons
    3.22 -	tar xf $src/Faenza.tar.gz Faenza/emblems
    3.23 -	# remove big sizes and scalable
    3.24 -	rm -rf $(find . -type d -regex '.*/\(64\|96\|scalable\)')
    3.25 -	# SliTaz locale settings
    3.26 -	. $WOK/slitaz-i18n/stuff/locale-pack.conf
    3.27 -	cd $fs/usr/share/icons/Faenza/emblems/16
    3.28 -	for icon in $(ls -1 *.icon); do
    3.29 -		CONTENT=$(cat $icon);
    3.30 -		echo "[Icon Data]" > $icon;
    3.31 -		echo "$CONTENT" | grep 'DisplayName=' >> $icon;
    3.32 -		for lang in $LOCALE_PACK; do
    3.33 -			echo "$CONTENT" | fgrep "DisplayName["$lang"]=" >> $icon;
    3.34 -			for size in 22 24 32 48; do
    3.35 -				rm -f ../$size/$icon
    3.36 -				ln -s ../16/$icon ../$size/$icon
    3.37 -			done
    3.38 -		done
    3.39 -	done
    3.40 -	true
    3.41 -}
    3.42 -
     4.1 --- a/faenza-icon-theme/receipt	Sat Feb 04 15:52:11 2017 +0200
     4.2 +++ b/faenza-icon-theme/receipt	Sat Feb 04 16:26:28 2017 +0200
     4.3 @@ -1,7 +1,7 @@
     4.4  # SliTaz package receipt.
     4.5  
     4.6  PACKAGE="faenza-icon-theme"
     4.7 -VERSION="1.3"
     4.8 +VERSION="1.3.1"
     4.9  CATEGORY="customization"
    4.10  SHORT_DESC="Faenza icon theme"
    4.11  MAINTAINER="al.bobylev@gmail.com"
    4.12 @@ -9,18 +9,14 @@
    4.13  WEB_SITE="http://tiheum.deviantart.com/art/Faenza-Icons-173323228"
    4.14  HOST_ARCH="any"
    4.15  
    4.16 -TARBALL="${PACKAGE}_$VERSION.zip"
    4.17 -WGET_URL="http://dl.dropbox.com/u/9966975/$TARBALL"
    4.18 +TARBALL="${PACKAGE}_$VERSION.tar.gz"
    4.19 +WGET_URL="http://ppa.launchpad.net/tiheum/equinox/ubuntu/pool/main/f/$PACKAGE/$TARBALL"
    4.20  
    4.21  # Rules to configure and make the package.
    4.22  compile_rules()
    4.23  {
    4.24  	mkdir -p $install/usr/share/icons
    4.25 -	cd $install/usr/share/icons
    4.26 -	tar xf $src/Faenza.tar.gz
    4.27 -	tar xf $src/Faenza-Dark.tar.gz
    4.28 -	tar xf $src/Faenza-Darkest.tar.gz
    4.29 -	tar xf $src/Faenza-Darker.tar.gz
    4.30 +	cp -a Faenza* $install/usr/share/icons
    4.31  }
    4.32  
    4.33  # Rules to gen a SliTaz package suitable for Tazpkg.
    4.34 @@ -29,27 +25,11 @@
    4.35  	cp -a $install/* $fs
    4.36  	# remove big sizes and scalable
    4.37  	rm -rf $(find $fs -type d -regex '.*/\(64\|96\|scalable\)')
    4.38 -	# remove emblems and extras
    4.39 -	rm -rf $(find $fs -type d -regex '.*/\(emblems\|extras\)')
    4.40 +	# remove extras
    4.41 +	rm -rf $(find $fs -type d -regex '.*/extras')
    4.42  	# sed -i '/Directories=/ s/\(.+\)\(,actions\/64.*\)/\1/' Faenza/index.theme
    4.43  
    4.44  	for name in Faenza Faenza-Dark Faenza-Darkest Faenza-Darker; do
    4.45  		cp -f $stuff/${name}-index.theme $fs/usr/share/icons/${name}/index.theme
    4.46  	done
    4.47  }
    4.48 -
    4.49 -qtfix='/usr/share/icons/hicolor/index.theme'
    4.50 -
    4.51 -post_install()
    4.52 -{
    4.53 -	[ -s "$1$qtfix" ] &&
    4.54 -	sed '/Inherits=/ s|=.*$|=Faenza|' -i "$1$qtfix"
    4.55 -	:
    4.56 -}
    4.57 -
    4.58 -pre_remove()
    4.59 -{
    4.60 -	[ -s "$1$qtfix" ] &&
    4.61 -	sed '/Inherits=/ s|=.*$|=SliTaz-Faenza|' -i "$1$qtfix"
    4.62 -	:
    4.63 -}