wok-current rev 22899

updated gtk-screenshot (0.1.0-1 -> 0.2.0)
author Hans-G?nter Theisgen
date Sun Feb 23 15:09:43 2020 +0100 (2020-02-23)
parents 070e14e0705d
children f88b946beb48
files gtk-screenshot/receipt
line diff
     1.1 --- a/gtk-screenshot/receipt	Sun Feb 23 11:33:56 2020 +0100
     1.2 +++ b/gtk-screenshot/receipt	Sun Feb 23 15:09:43 2020 +0100
     1.3 @@ -1,32 +1,38 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="gtk-screenshot"
     1.7 -VERSION="0.1.0-1"
     1.8 +VERSION="0.2.0"
     1.9  CATEGORY="x-window"
    1.10 -SHORT_DESC="A simple GTK+ tool to take screen capture in interactive mode or in shell"
    1.11 +TAGS="gtk2 screenshot"
    1.12 +SHORT_DESC="A simple GTK+ tool to take screen capture in interactive mode or in shell."
    1.13  MAINTAINER="al.bobylev@gmail.com"
    1.14  LICENSE="GPL2"
    1.15  WEB_SITE="https://sourceforge.net/projects/gtk-screenshot/"
    1.16 -TARBALL="${PACKAGE}_$VERSION.tar.gz"
    1.17 +
    1.18 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.19  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.20 -TAGS="gtk2 screenshot"
    1.21  
    1.22  DEPENDS="gtk+"
    1.23 -BUILD_DEPENDS="gtk+-dev libxml2-dev automake autoconf xorg-libXext-dev"
    1.24 +BUILD_DEPENDS="autoconf automake gtk+-dev libxml2-dev xorg-libXext-dev"
    1.25  
    1.26  # Rules to configure and make the package.
    1.27  compile_rules()
    1.28  {
    1.29  	cp $stuff/ru.po $src/po
    1.30  	autoreconf
    1.31 -	sed -i 's|ALL_LINGUAS="fr"|ALL_LINGUAS="fr ru"|' $src/configure
    1.32 -	./configure $CONFIGURE_ARGS && make && make install
    1.33 +	sed -i 's|ALL_LINGUAS="fr"|ALL_LINGUAS="fr ru"|' \
    1.34 +		$src/configure
    1.35 +
    1.36 +	./configure $CONFIGURE_ARGS &&
    1.37 +	make &&
    1.38 +	make install
    1.39 +
    1.40  	sed -i 's|int|in|' $install/usr/bin/screenshot	# typo
    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 -rf $fs/usr/share/man
    1.48 +	cp -a $install/*	$fs
    1.49 +	rm -rf			$fs/usr/share/man
    1.50  }