wok-next diff slim-theme-montanhoso/receipt @ rev 20821

perl-task-weaken: update $WGET_URL
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Jun 14 00:03:13 2018 +0300 (2018-06-14)
parents 0a411c8beacd
children
line diff
     1.1 --- a/slim-theme-montanhoso/receipt	Thu Jun 02 02:41:24 2016 +0300
     1.2 +++ b/slim-theme-montanhoso/receipt	Thu Jun 14 00:03:13 2018 +0300
     1.3 @@ -1,4 +1,4 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="slim-theme-montanhoso"
     1.8  VERSION="20150526"
     1.9 @@ -6,34 +6,29 @@
    1.10  SHORT_DESC="Montanhoso - theme for SLiM"
    1.11  MAINTAINER="al.bobylev@gmail.com"
    1.12  LICENSE="PublicDomain"
    1.13 -WEB_SITE="http://desktopstylish.tumblr.com/post/120406192590/montanhoso-theme-for-the-slim-login-manager"
    1.14 +WEB_SITE="http://desktopstylish.tumblr.com/post/120406192590/montanhoso-theme-for-the-slim-login-manager"		# missing
    1.15 +
    1.16  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.17  WGET_URL="https://drive.google.com/uc?export=download&id=0B4Re2DvqOMqlTXZZRDJWaFI4NkE"
    1.18 -TAGS="hackdorte slim"
    1.19  
    1.20 -DEPENDS="slim"
    1.21 -BUILD_DEPENDS=""
    1.22 +COOKOPTS="!pngquant"
    1.23  
    1.24 -# Rules to configure and make the package.
    1.25 -compile_rules()
    1.26 -{
    1.27 -	mkdir -p $install/usr/share/slim/themes/Montanhoso
    1.28 -	cp -a $src/* $install/usr/share/slim/themes/Montanhoso
    1.29 -	chown -R root:root $install
    1.30 +compile_rules() {
    1.31 +	theme="$install/usr/share/slim/themes/Montanhoso"
    1.32 +	mkdir -p $theme
    1.33 +	cp -r $src/* $theme
    1.34  }
    1.35  
    1.36 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.37 -genpkg_rules()
    1.38 -{
    1.39 -	cp -a $install/* $fs
    1.40 +genpkg_rules() {
    1.41 +	copy @std
    1.42 +	DEPENDS="slim"
    1.43 +	TAGS="hackdorte slim"
    1.44  }
    1.45  
    1.46 -post_install()
    1.47 -{
    1.48 +post_install() {
    1.49  	chroot "$1/" slim-theme -s Montanhoso
    1.50  }
    1.51  
    1.52 -pre_remove()
    1.53 -{
    1.54 +pre_remove() {
    1.55  	chroot "$1/" slim-theme -f Montanhoso
    1.56  }