# HG changeset patch # User Aleksej Bobylev # Date 1449102875 -7200 # Node ID 052364228d116359c09457faf8cffcedcb77300e # Parent 99b32bb95de03b0f43e2ade9e02d1c290c7bdad1 pypar2: add bdeps, tiny tweak; pcmanfm action: allow ": " inside name (for example, HDD volume name) diff -r 99b32bb95de0 -r 052364228d11 pcmanfm/stuff/actions/gvfs-info.desktop --- a/pcmanfm/stuff/actions/gvfs-info.desktop Wed Dec 02 21:12:02 2015 +0100 +++ b/pcmanfm/stuff/actions/gvfs-info.desktop Thu Dec 03 02:34:35 2015 +0200 @@ -6,4 +6,4 @@ Name[ru]=Информация GVFS [X-Action-Profile gvfs-info] -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'" +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'" diff -r 99b32bb95de0 -r 052364228d11 pypar2/receipt --- a/pypar2/receipt Wed Dec 02 21:12:02 2015 +0100 +++ b/pypar2/receipt Thu Dec 03 02:34:35 2015 +0200 @@ -10,21 +10,21 @@ WGET_URL="$WEB_SITE/uploads/Main/$TARBALL" DEPENDS="pygtk par2 python-pyxml python-vte" +BUILD_DEPENDS="findutils" # Rules to configure and make the package. compile_rules() { - sed -i 's|/usr/local|/usr|' Makefile - make && - make DESTDIR=$DESTDIR install + make prefix=/usr DESTDIR=$DESTDIR install + sdft $install/usr/share/applications/pypar2.desktop \ + -i -s "Categories=GTK;Utility;" } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { cp -a $install/* $fs/ - sed -i 's/Categories=.*/Categories=Utilities/' \ - $fs/usr/share/applications/pypar2.desktop rm -rf $fs/usr/share/man $fs/usr/bin/pypar2 ln -s /usr/share/pypar2/src/main.py $fs/usr/bin/pypar2 } +