wok-current rev 23274

updated paper-icon-theme (1.3.4 -> 1.5.0)
author Hans-G?nter Theisgen
date Sat Mar 28 15:29:00 2020 +0100 (2020-03-28)
parents c38c6329f832
children b6ad3bff03b2
files paper-icon-theme/receipt
line diff
     1.1 --- a/paper-icon-theme/receipt	Sat Mar 28 14:46:49 2020 +0100
     1.2 +++ b/paper-icon-theme/receipt	Sat Mar 28 15:29:00 2020 +0100
     1.3 @@ -1,47 +1,50 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="paper-icon-theme"
     1.7 -VERSION="1.3.4"
     1.8 -COMMIT="712acc0"
     1.9 +VERSION="1.5.0"
    1.10  CATEGORY="customization"
    1.11 -SHORT_DESC="Simple and modern icon theme with material design influences"
    1.12 +SHORT_DESC="Simple and modern icon theme with material design influences."
    1.13  MAINTAINER="al.bobylev@gmail.com"
    1.14  LICENSE="CC-BY-SA-4"
    1.15  WEB_SITE="https://snwh.org/paper/"
    1.16 -TARBALL="$PACKAGE-$COMMIT.tar.gz"
    1.17 -WGET_URL="https://github.com/snwh/paper-icon-theme/archive/$COMMIT.tar.gz"
    1.18 +
    1.19 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.20 +WGET_URL="https://github.com/snwh/$PACKAGE/archive/v.$VERSION/$TARBALL"
    1.21  
    1.22  DEPENDS="librsvg"
    1.23 -BUILD_DEPENDS="autoconf automake svgcleaner"
    1.24 +BUILD_DEPENDS="meson ninja svgcleaner"
    1.25  
    1.26  # Rules to configure and make the package.
    1.27  compile_rules()
    1.28  {
    1.29 -	./autogen.sh &&
    1.30 -	make && make install
    1.31 +	meson .	_build &&
    1.32 +	ninja -C _build &&
    1.33 +	ninja -C _build install
    1.34  
    1.35  	# remove hdpi icons, and huge sizes
    1.36  	it="$install/usr/share/icons/Paper/index.theme"
    1.37 -	for i in 8x8@2x 16x16@2x 24x24@2x 32x32@2x 48x48@2x 512x512@2x 512x512; do
    1.38 +	for i in 8x8@2x 16x16@2x 24x24@2x 32x32@2x 48x48@2x 512x512@2x 512x512
    1.39 +	  do
    1.40  		echo "Remove $i"
    1.41  		rm -r $install/usr/share/icons/Paper/$i
    1.42  		sed -i "s|$i[^,]*,||g" $it
    1.43  		sed -i "/^\[$i/,/^\[/{/^\[/b;d}" $it
    1.44  		sed -i "/^\[$i/d" $it
    1.45 -	done
    1.46 +	  done
    1.47  	sed -i '/HiDPi/,$d' $it
    1.48  
    1.49  	# remove duplicates (keep <name>.png, remove <name>.svg)
    1.50 -	for svg in $(find $install -name '*.svg'); do
    1.51 +	for svg in $(find $install -name '*.svg')
    1.52 +	  do
    1.53  		if [ -e "${svg%svg}png" ]; then
    1.54  			echo "Remove duplicate: ${svg#*Paper/}"
    1.55  			rm "$svg"
    1.56  		fi
    1.57 -	done
    1.58 +	  done
    1.59  }
    1.60  
    1.61  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.62  genpkg_rules()
    1.63  {
    1.64 -	cp -a $install/* $fs
    1.65 +	cp -a $install/*	$fs
    1.66  }