wok-current diff pypar2/receipt @ rev 21089

updated kbd, kbd-base, kbd-busybox, and kdb-vlock (2.0.2 -> 2.0.4)
author Hans-G?nter Theisgen
date Sat Mar 16 09:42:26 2019 +0100 (2019-03-16)
parents 99b32bb95de0
children b7f1bd1b9ac7
line diff
     1.1 --- a/pypar2/receipt	Wed Dec 02 21:12:02 2015 +0100
     1.2 +++ b/pypar2/receipt	Sat Mar 16 09:42:26 2019 +0100
     1.3 @@ -10,21 +10,21 @@
     1.4  WGET_URL="$WEB_SITE/uploads/Main/$TARBALL"
     1.5  
     1.6  DEPENDS="pygtk par2 python-pyxml python-vte"
     1.7 +BUILD_DEPENDS="findutils"
     1.8  
     1.9  # Rules to configure and make the package.
    1.10  compile_rules()
    1.11  {
    1.12 -	sed -i 's|/usr/local|/usr|' Makefile
    1.13 -	make &&
    1.14 -	make DESTDIR=$DESTDIR install
    1.15 +	make prefix=/usr DESTDIR=$DESTDIR install
    1.16 +	sdft $install/usr/share/applications/pypar2.desktop \
    1.17 +		-i -s "Categories=GTK;Utility;"
    1.18  }
    1.19  
    1.20  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.21  genpkg_rules()
    1.22  {
    1.23  	cp -a $install/* $fs/
    1.24 -	sed -i 's/Categories=.*/Categories=Utilities/' \
    1.25 -		$fs/usr/share/applications/pypar2.desktop
    1.26  	rm -rf $fs/usr/share/man $fs/usr/bin/pypar2
    1.27  	ln -s /usr/share/pypar2/src/main.py $fs/usr/bin/pypar2
    1.28  }
    1.29 +