wok-next diff clipit/receipt @ rev 20678

Up clisp (2.50)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue May 15 02:59:03 2018 +0300 (2018-05-15)
parents bf4cf6b0f742
children e43c543a4c5b
line diff
     1.1 --- a/clipit/receipt	Sat Oct 21 10:26:33 2017 +0200
     1.2 +++ b/clipit/receipt	Tue May 15 02:59:03 2018 +0300
     1.3 @@ -1,4 +1,4 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="clipit"
     1.8  VERSION="1.4.2"
     1.9 @@ -7,15 +7,13 @@
    1.10  MAINTAINER="al.bobylev@gmail.com"
    1.11  LICENSE="GPL3"
    1.12  WEB_SITE="http://clipit.rspwn.com/"
    1.13 +
    1.14  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.15  WGET_URL="$SF_MIRROR/gtkclipit/Version%201/$TARBALL"
    1.16  
    1.17 -DEPENDS="gtk+"
    1.18  BUILD_DEPENDS="gtk+-dev intltool"
    1.19  
    1.20 -# Rules to configure and make the package.
    1.21 -compile_rules()
    1.22 -{
    1.23 +compile_rules() {
    1.24  	# fix subcategory for cascade menu
    1.25  	sed -i 's|Categories=.*|Categories=GTK;Utility;TextTools;|' \
    1.26  		$src/data/clipit.desktop.in
    1.27 @@ -23,16 +21,12 @@
    1.28  	sed -i 's|clipit-trayicon|edit-paste|' $src/data/clipit*.desktop.in
    1.29  	sed -i 's|clipit-trayicon|edit-paste|' $src/src/main.c
    1.30  
    1.31 -	./configure \
    1.32 -		--sysconfdir=/etc \
    1.33 -		$CONFIGURE_ARGS &&
    1.34 +	./configure $CONFIGURE_ARGS &&
    1.35  	make &&
    1.36  	make install
    1.37  }
    1.38  
    1.39 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.40 -genpkg_rules()
    1.41 -{
    1.42 -	cp -a $install/* $fs
    1.43 -	rm -rf $fs/usr/share/icons $fs/usr/share/locale $fs/usr/share/man
    1.44 +genpkg_rules() {
    1.45 +	copy @std
    1.46 +	DEPENDS="gtk+"
    1.47  }