wok diff gtk+/receipt @ rev 19917

gimp, hplip: update dependencies (thanks andreid)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Apr 15 16:01:44 2017 +0300 (2017-04-15)
parents 9817bbff89ec
children a78610b2eb47
line diff
     1.1 --- a/gtk+/receipt	Fri Apr 03 17:19:07 2015 +0300
     1.2 +++ b/gtk+/receipt	Sat Apr 15 16:01:44 2017 +0300
     1.3 @@ -10,7 +10,6 @@
     1.4  TARBALL="$PACKAGE-$VERSION.tar.xz"
     1.5  WEB_SITE="http://www.gtk.org/"
     1.6  WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION:0:4}/$TARBALL"
     1.7 -CONFIG_FILES="/etc/gtk-2.0/gtk.immodules"
     1.8  HOST_ARCH="i486 arm"
     1.9  
    1.10  DEPENDS="glibc-base expat libxcb xcb-util zlib glib cairo pango atk libpng \
    1.11 @@ -72,7 +71,6 @@
    1.12  	cp -a $install/usr/bin/gtk-builder-convert $fs/usr/bin
    1.13  
    1.14  	mkdir -p $fs/etc/gtk-2.0
    1.15 -	touch $fs/etc/gtk-2.0/gtk.immodules
    1.16  	ln -s /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache \
    1.17  		$fs/etc/gtk-2.0/gdk-pixbuf.loaders
    1.18  }
    1.19 @@ -80,8 +78,6 @@
    1.20  # Pre and post install commands for Tazpkg.
    1.21  post_install()
    1.22  {
    1.23 -	local arg
    1.24 -	echo "Processing post-install commands..."
    1.25 -	mkdir -p $1/etc/gtk-2.0
    1.26 -	chroot $1/ /usr/bin/gtk-query-immodules-2.0 > $1/etc/gtk-2.0/gtk.immodules
    1.27 +	mkdir -p "$1/etc/gtk-2.0"
    1.28 +	chroot "$1/" /usr/bin/gtk-query-immodules-2.0 > "$1/etc/gtk-2.0/gtk.immodules"
    1.29  }