wok-next diff mate-themes/receipt @ rev 20169

graphviz: receipt v2
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Nov 01 19:07:45 2017 +0100 (2017-11-01)
parents 40fab26c175d
children 757d032c55c7
line diff
     1.1 --- a/mate-themes/receipt	Mon May 09 21:59:10 2016 +0300
     1.2 +++ b/mate-themes/receipt	Wed Nov 01 19:07:45 2017 +0100
     1.3 @@ -1,32 +1,31 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="mate-themes"
     1.8 -VERSION="1.9.0"
     1.9 +VERSION="3.22.14"
    1.10  CATEGORY="customization"
    1.11 -LICENSE="GPL"
    1.12 -SHORT_DESC="MATE's default themes."
    1.13 +SHORT_DESC="Official themes for the MATE desktop"
    1.14  MAINTAINER="yuripourre@gmail.com"
    1.15 +LICENSE="LGPL2.1"
    1.16 +WEB_SITE="https://github.com/mate-desktop/mate-themes"
    1.17 +
    1.18  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.19 -WEB_SITE="http://www.mate-desktop.org/"
    1.20 -WGET_URL="https://github.com/mate-desktop/$PACKAGE/archive/$TARBALL"
    1.21 +WGET_URL="https://github.com/mate-desktop/mate-themes/archive/v$VERSION.tar.gz"
    1.22  
    1.23 -DEPENDS="gtk+ gtk-engines gtk2-engine-murrine librsvg mate-icon-theme"
    1.24 -BUILD_DEPENDS="autoconf automake gtk+-dev mate-common-dev icon-naming-utils"
    1.25 +BUILD_DEPENDS="mate-common gtk+-dev"
    1.26  
    1.27 -# Rules to configure and make the package.
    1.28 -compile_rules()
    1.29 -{
    1.30 -	./autogen.sh                           \
    1.31 -		--prefix=/usr                  \
    1.32 -		--enable-all-themes            \
    1.33 -		--disable-placeholders         \
    1.34 +compile_rules() {
    1.35 +	./autogen.sh \
    1.36 +		--sysconfdir=/etc \
    1.37 +		--localstatedir=/var \
    1.38  		$CONFIGURE_ARGS &&
    1.39  	make &&
    1.40 -	make DESTDIR=$DESTDIR install
    1.41 +	make install || return 1
    1.42 +
    1.43 +	# remove empty folder structure
    1.44 +	rm -r $fs/usr/share/locale/
    1.45  }
    1.46  
    1.47 -genpkg_rules()
    1.48 -{
    1.49 -	mkdir -p $fs/usr
    1.50 -	cp -a $install/usr $fs
    1.51 +genpkg_rules() {
    1.52 +	copy @std
    1.53 +	SUGGESTED="gtk2-engine-murrine gtk+3"
    1.54  }