wok-next diff rox-filer/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents f48456621a9d
children ad449ad4a1a5
line diff
     1.1 --- a/rox-filer/receipt	Tue Oct 16 16:46:05 2018 +0300
     1.2 +++ b/rox-filer/receipt	Fri Nov 02 14:15:08 2018 +0200
     1.3 @@ -3,70 +3,65 @@
     1.4  PACKAGE="rox-filer"
     1.5  VERSION="2.8"
     1.6  CATEGORY="system-tools"
     1.7 -SHORT_DESC="user friendly filer."
     1.8 -MAINTAINER="sygne@ombres.eu"
     1.9 +SHORT_DESC="User friendly filer"
    1.10 +MAINTAINER="devel@slitaz.org"
    1.11  LICENSE="GPL2"
    1.12 +WEB_SITE="http://rox.sourceforge.net/desktop/"
    1.13 +
    1.14  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.15 -WEB_SITE="http://rox.sourceforge.net/desktop/"
    1.16  WGET_URL="$SF_MIRROR/rox/$TARBALL"
    1.17 -TAGS="file-manager"
    1.18  
    1.19 -DEPENDS="gtk2 libglade libxml2 xorg-libXdamage shared-mime-info xorg-libSM"
    1.20  BUILD_DEPENDS="libglade-dev libxml2-dev gtk2-dev shared-mime-info-dev \
    1.21  xorg-libSM-dev"
    1.22  
    1.23 -# Rules to configure and make the package.
    1.24 -compile_rules()
    1.25 -{
    1.26 +compile_rules() {
    1.27  	export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lm"
    1.28  	echo "compile"
    1.29  	# If missing dep compile will block on a read.
    1.30  	echo -e "\t" | $src/ROX-Filer/AppRun --compile
    1.31  	echo "mkdir"
    1.32 -	mkdir $DESTDIR
    1.33 -	cp $src/ROX-Filer/ROX-Filer $DESTDIR/rox-filer
    1.34 -	cp $src/ROX-Filer/.DirIcon $DESTDIR/
    1.35 +	mkdir $install
    1.36 +	cp $src/ROX-Filer/ROX-Filer $install/rox-filer
    1.37 +	cp $src/ROX-Filer/.DirIcon $install/
    1.38  
    1.39 -	mkdir $DESTDIR/Messages
    1.40 +	mkdir $install/Messages
    1.41  	for locale in de es fr it
    1.42  	do
    1.43 -		cp -r $src/ROX-Filer/Messages/$locale $DESTDIR/Messages
    1.44 +		cp -r $src/ROX-Filer/Messages/$locale $install/Messages
    1.45  	done
    1.46  		
    1.47 -	cp -r $src/ROX-Filer/images $DESTDIR/
    1.48 -	
    1.49 -	mkdir $DESTDIR/Help
    1.50 -	cp $src/ROX-Filer/Help/*.html $DESTDIR/Help/
    1.51 -	cp $src/ROX-Filer/style.css $DESTDIR/
    1.52 -	
    1.53 -	cp $src/ROX-Filer/Options.xml $DESTDIR/
    1.54 -	cp $src/ROX-Filer/Templates.glade $DESTDIR/
    1.55 +	cp -r $src/ROX-Filer/images $install/
    1.56 +
    1.57 +	mkdir $install/Help
    1.58 +	cp $src/ROX-Filer/Help/*.html $install/Help/
    1.59 +	cp $src/ROX-Filer/style.css $install/
    1.60 +
    1.61 +	cp $src/ROX-Filer/Options.xml $install/
    1.62 +	cp $src/ROX-Filer/Templates.glade $install/
    1.63  }
    1.64  
    1.65 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.66 -genpkg_rules()
    1.67 -{
    1.68 +genpkg_rules() {
    1.69  	mkdir -p $fs/usr/share/rox-filer
    1.70  	cp -r $install/* $fs/usr/share/rox-filer/
    1.71  	cp $install/.DirIcon $fs/usr/share/rox-filer/
    1.72 -	
    1.73 +
    1.74  	mkdir -p $fs/usr/bin
    1.75  	cp -r $stuff/rox-filer $fs/usr/bin/
    1.76  	ICI=$(pwd)
    1.77  		cd $fs/usr/bin/
    1.78  		ln -s rox-filer rox
    1.79  	cd $ICI
    1.80 -	
    1.81 +
    1.82  	mkdir -p $fs/usr/lib/openbox
    1.83  	cp $stuff/rox-open-folder-menu.sh $fs/usr/lib/openbox/
    1.84 -	
    1.85 +
    1.86  	strip -s $fs/usr/share/rox-filer/rox-filer
    1.87 +	DEPENDS="gtk2 libglade libxml2 xorg-libXdamage shared-mime-info xorg-libSM"
    1.88 +	TAGS="file-manager"
    1.89  }
    1.90  
    1.91 -# Post install commands for Tazpkg.
    1.92  # Check /usr/share/icons/ROX
    1.93 -post_install()
    1.94 -{ 
    1.95 +post_install() {
    1.96  	if [ -e "$1/usr/share/icons/ROX" ]; then
    1.97  		echo ""
    1.98  		echo "/usr/share/icons/ROX exists"