wok-next diff paper-gtk-theme/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents d43bf7aae921
children d457c4e37c1b
line diff
     1.1 --- a/paper-gtk-theme/receipt	Wed Mar 21 15:58:17 2018 +0200
     1.2 +++ b/paper-gtk-theme/receipt	Fri Nov 02 14:15:08 2018 +0200
     1.3 @@ -13,14 +13,13 @@
     1.4  WGET_URL="https://github.com/snwh/paper-gtk-theme/archive/$COMMIT.tar.gz"
     1.5  
     1.6  BUILD_DEPENDS="autoconf automake"
     1.7 -SPLIT="paper-gtk-theme-extra"
     1.8 +SPLIT="$PACKAGE-extra"
     1.9  
    1.10 -# Rules to configure and make the package.
    1.11 -compile_rules()
    1.12 -{
    1.13 +compile_rules() {
    1.14  	chmod a+x autogen.sh
    1.15  	./autogen.sh &&
    1.16 -	make && make install
    1.17 +	make &&
    1.18 +	make install || return 1
    1.19  
    1.20  	# Define small icons is 16x16
    1.21  	sed -i '20 i\
    1.22 @@ -40,16 +39,14 @@
    1.23  	cp -f $stuff/Buttons/*.png $install/usr/share/themes/Paper/gtk-2.0/Buttons/
    1.24  }
    1.25  
    1.26 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.27 -genpkg_rules()
    1.28 -{
    1.29 +genpkg_rules() {
    1.30  	case $PACKAGE in
    1.31  		paper-gtk-theme)
    1.32  			copy gtk-*/ index.theme
    1.33  			CAT="customization|GTK+2 and GTK+3 theme"
    1.34  			DEPENDS="gtk2-engine-murrine"
    1.35  			;;
    1.36 -		paper-gtk-theme-extra)
    1.37 +		*-extra)
    1.38  			copy @std @rm
    1.39  			CAT="customization|extra files"
    1.40  			;;