wok rev 18656

Add pypar2 (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Dec 02 21:12:02 2015 +0100 (2015-12-02)
parents 583a65228358
children 052364228d11
files pypar2/receipt
line diff
     1.1 --- a/pypar2/receipt	Wed Dec 02 20:45:37 2015 +0100
     1.2 +++ b/pypar2/receipt	Wed Dec 02 21:12:02 2015 +0100
     1.3 @@ -8,9 +8,8 @@
     1.4  TARBALL="$PACKAGE-$VERSION.tar.gz"
     1.5  WEB_SITE="http://pypar2.silent-blade.org/"
     1.6  WGET_URL="$WEB_SITE/uploads/Main/$TARBALL"
     1.7 -#http://pypar2.silent-blade.org/uploads/Main/pypar2-1.4.tar.gz
     1.8  
     1.9 -DEPENDS="pygtk par2"
    1.10 +DEPENDS="pygtk par2 python-pyxml python-vte"
    1.11  
    1.12  # Rules to configure and make the package.
    1.13  compile_rules()
    1.14 @@ -24,5 +23,8 @@
    1.15  genpkg_rules()
    1.16  {
    1.17  	cp -a $install/* $fs/
    1.18 -	rm -rf $fs/usr/share/man
    1.19 +	sed -i 's/Categories=.*/Categories=Utilities/' \
    1.20 +		$fs/usr/share/applications/pypar2.desktop
    1.21 +	rm -rf $fs/usr/share/man $fs/usr/bin/pypar2
    1.22 +	ln -s /usr/share/pypar2/src/main.py $fs/usr/bin/pypar2
    1.23  }