wok-next diff scim/receipt @ rev 20663

Fix web site for the Shimmer Project themes
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu May 10 22:58:32 2018 +0300 (2018-05-10)
parents dd145c435e4b
children f48456621a9d
line diff
     1.1 --- a/scim/receipt	Wed Feb 28 17:32:31 2018 +0200
     1.2 +++ b/scim/receipt	Thu May 10 22:58:32 2018 +0300
     1.3 @@ -15,22 +15,18 @@
     1.4  libxslt docbook-xsl gtk+-dev xorg-libX11-dev"
     1.5  SPLIT="scim-dev"
     1.6  
     1.7 -# Rules to configure and make the package.
     1.8 -compile_rules()
     1.9 -{
    1.10 +compile_rules() {
    1.11  	./bootstrap &&
    1.12  
    1.13  	./configure \
    1.14 -		--sysconfdir=/etc \
    1.15  		--with-x \
    1.16  		$CONFIGURE_ARGS &&
    1.17 +	fix libtool &&
    1.18  	make $MAKEFLAGS &&
    1.19  	make install
    1.20  }
    1.21  
    1.22 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.23 -genpkg_rules()
    1.24 -{
    1.25 +genpkg_rules() {
    1.26  	case $PACKAGE in
    1.27  		scim)
    1.28  			copy @std
    1.29 @@ -52,12 +48,8 @@
    1.30  	esac
    1.31  }
    1.32  
    1.33 -post_install_scim()
    1.34 -{
    1.35 -	[ -n "$quiet" ] || newline
    1.36 -	action 'Updating gtk.immodules... '
    1.37 +post_install_scim() {
    1.38  	chroot "$1/" /usr/bin/gtk-query-immodules-2.0 > $1/etc/gtk-2.0/gtk.immodules
    1.39 -	status
    1.40  
    1.41  	[ -n "$quiet" ] || cat <<EOT
    1.42  In order to start scim and use chinese after boot time,
    1.43 @@ -74,7 +66,6 @@
    1.44  EOT
    1.45  }
    1.46  
    1.47 -post_remove_scim()
    1.48 -{
    1.49 +post_remove_scim() {
    1.50  	chroot "$1/" /usr/bin/gtk-query-immodules-2.0 > $1/etc/gtk-2.0/gtk.immodules
    1.51  }