wok-next diff adwaita-icon-theme/receipt @ rev 20779

typo
author Erkan Yilmaz <erkan@slitaz.org>
date Fri Jun 08 09:48:36 2018 +0000 (2018-06-08)
parents d99440f42774
children a18af897de8e
line diff
     1.1 --- a/adwaita-icon-theme/receipt	Sat Feb 04 15:52:11 2017 +0200
     1.2 +++ b/adwaita-icon-theme/receipt	Fri Jun 08 09:48:36 2018 +0000
     1.3 @@ -1,8 +1,7 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="adwaita-icon-theme"
     1.8 -VERSION="3.23.91"
     1.9 -SERIES="$(echo $VERSION | cut -d. -f1,2)"
    1.10 +VERSION="3.22.0" # please, synchronize with the gtk+3 version (3.22.x)
    1.11  CATEGORY="customization"
    1.12  SHORT_DESC="A collection of icons used at the basis for GNOME themes"
    1.13  MAINTAINER="al.bobylev@gmail.com"
    1.14 @@ -10,20 +9,31 @@
    1.15  WEB_SITE="https://github.com/GNOME/adwaita-icon-theme"
    1.16  
    1.17  TARBALL="$PACKAGE-$VERSION.tar.xz"
    1.18 -WGET_URL="$GNOME_MIRROR/$PACKAGE/$SERIES/$TARBALL"
    1.19 +WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
    1.20  
    1.21  # Rules to configure and make the package.
    1.22  compile_rules()
    1.23  {
    1.24 +	# http://www.linuxfromscratch.org/blfs/view/stable/x/adwaita-icon-theme.html
    1.25 +
    1.26  	./configure \
    1.27  		--prefix=/usr \
    1.28  		$CONFIGURE_ARGS &&
    1.29 -	make && make install
    1.30 +	make && make install &&
    1.31 +
    1.32 +	# fix icons
    1.33 +	sed -i 's|-inkscape-font-specification:&apos;Cantarell Bold&apos;;||' \
    1.34 +		$install/usr/share/icons/Adwaita/scalable/actions/address-book-new-symbolic.svg &&
    1.35 +	sed -i 's|-inkscape-font-specification:&apos;Bitstream Vera Sans&apos;;||' \
    1.36 +		$install/usr/share/icons/Adwaita/scalable/actions/call-stop-symbolic.svg &&
    1.37 +	sed -i '/<<<<<<< HEAD/,/=======/d; />>>>>>>/d' \
    1.38 +		$install/usr/share/icons/Adwaita/scalable/actions/send-to-symbolic.svg &&
    1.39 +	sed -i 's|-inkscape-font-specification:&apos;Andale Mono&apos;;||' \
    1.40 +		$install/usr/share/icons/Adwaita/scalable/places/folder-download-symbolic.svg
    1.41  }
    1.42  
    1.43  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.44  genpkg_rules()
    1.45  {
    1.46 -	cp -a $install/* $fs
    1.47 -	rm -r $fs/usr/share/pkgconfig
    1.48 +	copy @std
    1.49  }