wok rev 18657

pypar2: add bdeps, tiny tweak; pcmanfm action: allow ": " inside name (for example, HDD volume name)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Dec 03 02:34:35 2015 +0200 (2015-12-03)
parents 99b32bb95de0
children 0968cb885b98
files pcmanfm/stuff/actions/gvfs-info.desktop pypar2/receipt
line diff
     1.1 --- a/pcmanfm/stuff/actions/gvfs-info.desktop	Wed Dec 02 21:12:02 2015 +0100
     1.2 +++ b/pcmanfm/stuff/actions/gvfs-info.desktop	Thu Dec 03 02:34:35 2015 +0200
     1.3 @@ -6,4 +6,4 @@
     1.4  Name[ru]=Информация GVFS
     1.5  
     1.6  [X-Action-Profile gvfs-info]
     1.7 -Exec=sh -c "gvfs-info %u 2>&1 | sed -e '/: /!s|$|&\\n|g' -e '/: /s|: |\\n|1g' | yad --title='GVFS info' --window-icon='gtk-info' --list --width=600 --height=320 --column='Name' --column='Value' --button='gtk-close'"
     1.8 +Exec=sh -c "gvfs-info %u 2>&1 | sed -e '/: /!s|$|&\\n|' -e '/: /s|: |\\n|' | yad --title='GVFS info' --window-icon='gtk-info' --list --width=600 --height=320 --column='Name' --column='Value' --button='gtk-close'"
     2.1 --- a/pypar2/receipt	Wed Dec 02 21:12:02 2015 +0100
     2.2 +++ b/pypar2/receipt	Thu Dec 03 02:34:35 2015 +0200
     2.3 @@ -10,21 +10,21 @@
     2.4  WGET_URL="$WEB_SITE/uploads/Main/$TARBALL"
     2.5  
     2.6  DEPENDS="pygtk par2 python-pyxml python-vte"
     2.7 +BUILD_DEPENDS="findutils"
     2.8  
     2.9  # Rules to configure and make the package.
    2.10  compile_rules()
    2.11  {
    2.12 -	sed -i 's|/usr/local|/usr|' Makefile
    2.13 -	make &&
    2.14 -	make DESTDIR=$DESTDIR install
    2.15 +	make prefix=/usr DESTDIR=$DESTDIR install
    2.16 +	sdft $install/usr/share/applications/pypar2.desktop \
    2.17 +		-i -s "Categories=GTK;Utility;"
    2.18  }
    2.19  
    2.20  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.21  genpkg_rules()
    2.22  {
    2.23  	cp -a $install/* $fs/
    2.24 -	sed -i 's/Categories=.*/Categories=Utilities/' \
    2.25 -		$fs/usr/share/applications/pypar2.desktop
    2.26  	rm -rf $fs/usr/share/man $fs/usr/bin/pypar2
    2.27  	ln -s /usr/share/pypar2/src/main.py $fs/usr/bin/pypar2
    2.28  }
    2.29 +