wok-6.x diff mate-terminal/receipt @ rev 17889

Up qemu-* (2.0.2)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Apr 02 17:18:25 2015 +0200 (2015-04-02)
parents f499d448d657
children e863f2041090
line diff
     1.1 --- a/mate-terminal/receipt	Sat Jul 26 02:04:55 2014 -0300
     1.2 +++ b/mate-terminal/receipt	Thu Apr 02 17:18:25 2015 +0200
     1.3 @@ -11,9 +11,9 @@
     1.4  WGET_URL="https://github.com/mate-desktop/$PACKAGE/archive/$TARBALL"
     1.5  
     1.6  DEPENDS="gtk+ dconf util-linux-uuid vte mate-desktop harfbuzz"
     1.7 -BUILD_DEPENDS="wget dconf-dev gtk+-dev util-linux-uuid-dev vte-dev \
     1.8 -mate-common mate-desktop yelp-tools autoconf automake libtool itstool \
     1.9 -harfbuzz-dev"
    1.10 +BUILD_DEPENDS="wget cacerts dconf-dev gtk+-dev util-linux-uuid-dev \
    1.11 +vte-dev mate-common-dev mate-desktop-dev yelp-tools autoconf automake libtool \
    1.12 +itstool harfbuzz-dev"
    1.13  
    1.14  # Rules to configure and make the package.
    1.15  compile_rules()
    1.16 @@ -30,8 +30,26 @@
    1.17  	make DESTDIR=$DESTDIR install
    1.18  }
    1.19  
    1.20 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.21  genpkg_rules()
    1.22  {
    1.23 +	# Saving some space
    1.24 +	rm -rf $install/usr/share/man
    1.25 +	rm -rf $install/usr/share/help
    1.26 +
    1.27  	mkdir -p $fs/usr
    1.28  	cp -a $install/usr $fs
    1.29  }
    1.30 +
    1.31 +# Post install/remove commands for Tazpkg.
    1.32 +post_install()
    1.33 +{
    1.34 +	echo "Processing post-install commands..."
    1.35 +	chroot "$1/" /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas
    1.36 +}
    1.37 +
    1.38 +post_remove()
    1.39 +{ 
    1.40 +	echo "Processing post-remove commands..."
    1.41 +	chroot "$1/" /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas
    1.42 +}