wok-next diff mate-icon-theme/receipt @ rev 20132

Patch midori for new vala.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Oct 31 15:24:24 2017 +0200 (2017-10-31)
parents b3372388a986
children 757d032c55c7
line diff
     1.1 --- a/mate-icon-theme/receipt	Sun Oct 15 17:04:15 2017 +0200
     1.2 +++ b/mate-icon-theme/receipt	Tue Oct 31 15:24:24 2017 +0200
     1.3 @@ -1,32 +1,43 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="mate-icon-theme"
     1.8 -VERSION="1.9.0"
     1.9 +VERSION="1.18.2"
    1.10  CATEGORY="customization"
    1.11 -LICENSE="GPL3"
    1.12 -SHORT_DESC="MATE's default icon set."
    1.13 +SHORT_DESC="MATE default icon theme"
    1.14  MAINTAINER="yuripourre@gmail.com"
    1.15 +LICENSE="LGPL3 CC-BY-SA-3"
    1.16 +WEB_SITE="https://github.com/mate-desktop/mate-icon-theme"
    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 -TAGS="MATE"
    1.22 -DEPENDS=""
    1.23 -BUILD_DEPENDS="wget cacerts autoconf automake mate-common-dev icon-naming-utils \
    1.24 -intltool"
    1.25 +WGET_URL="https://github.com/mate-desktop/mate-icon-theme/archive/v$VERSION.tar.gz"
    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-icon-mapping  \
    1.33 +BUILD_DEPENDS="mate-common icon-naming-utils"
    1.34 +SPLIT="mate-icon-theme-menta"
    1.35 +
    1.36 +compile_rules() {
    1.37 +	./autogen.sh \
    1.38 +		--sysconfdir=/etc \
    1.39 +		--localstatedir=/var \
    1.40 +		\
    1.41 +		--enable-icon-mapping \
    1.42  		$CONFIGURE_ARGS &&
    1.43  	make &&
    1.44 -	make DESTDIR=$DESTDIR install
    1.45 +	make install || return 1
    1.46 +
    1.47 +	# remove empty folder structure
    1.48 +	rm -r $install/usr/share/locale
    1.49  }
    1.50  
    1.51 -genpkg_rules()
    1.52 -{
    1.53 -	mkdir -p $fs/usr
    1.54 -	cp -a $install/usr $fs
    1.55 +genpkg_rules() {
    1.56 +	case $PACKAGE in
    1.57 +		mate-icon-theme)
    1.58 +			copy mate/
    1.59 +			;;
    1.60 +		*-menta)
    1.61 +			copy menta/
    1.62 +			DEPENDS="mate-icon-theme"
    1.63 +			CAT="customization|Menta theme"
    1.64 +			;;
    1.65 +	esac
    1.66 +	TAGS="MATE"
    1.67  }