summaryrefslogtreecommitdiffstats
path: root/extra/rox/Pkgfile
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2009-12-17 21:25:52 +0100
committertnut <thierryn1 at hispeed dot ch>2009-12-17 21:25:52 +0100
commit3753561971b049e557c398d49b48f859997ebfcc (patch)
treecc3c5e6f2b99ba87c03dc83f68e8c383c55fd0e6 /extra/rox/Pkgfile
parentc45c219d097ab0762a8ebabb47385862b21857bb (diff)
downloadnutyx-extra-3753561971b049e557c398d49b48f859997ebfcc.tar.gz
nutyx-extra-3753561971b049e557c398d49b48f859997ebfcc.tar.bz2
nutyx-extra-3753561971b049e557c398d49b48f859997ebfcc.tar.xz
nutyx-extra-3753561971b049e557c398d49b48f859997ebfcc.zip
Ajout de rox#2.10-1
Diffstat (limited to 'extra/rox/Pkgfile')
-rw-r--r--extra/rox/Pkgfile42
1 files changed, 42 insertions, 0 deletions
diff --git a/extra/rox/Pkgfile b/extra/rox/Pkgfile
new file mode 100644
index 000000000..91ebabd6d
--- /dev/null
+++ b/extra/rox/Pkgfile
@@ -0,0 +1,42 @@
+# Description: Explorateur de fichier très léger
+# URL: http://roscidus.com/desktop/
+# Maintainer: NuTyX packager team
+# Packager: lesibel at free dot fr
+# Depends on: libxml2, gtk, shared-mime-info, xorg-libsm, libglade
+name=rox
+version=2.10
+release=1
+source=(http://dl.sourceforge.net/sourceforge/$name/$name-filer-$version.tar.bz2 \
+ $name.desktop $name.svg)
+
+build() {
+ cd $SRC/$name-filer-$version/Choices
+ mkdir -p $PKG/usr/share/Choices
+ cp -rp MIME-types $PKG/usr/share/Choices/
+ # manually copy the manpages first
+ cd ../
+ install -Dm 0644 rox.1 $PKG/usr/share/man/man1/rox.1
+ cd $PKG/usr/share/man/man1
+ ln -sf rox.1 ROX-Filer.1
+ # this compiles and installs rox
+ cd $SRC/$name-filer-$version/ROX-Filer
+ ./AppRun --compile
+ cd ..
+ cp -rp ROX-Filer $PKG/usr/share/
+ rm -fr $PKG/usr/share/ROX-Filer/{src,build}
+ # create a shellscript which is known in the PATH
+ mkdir -p $PKG/usr/bin
+ echo "#!/bin/sh" > "$PKG/usr/bin/rox"
+ echo "exec /usr/share/ROX-Filer/AppRun \"\$@\"" >> "$PKG/usr/bin/rox"
+ chmod a+x $PKG/usr/bin/rox
+ # install some freedesktop.org compatibility
+ install -D -m644 $SRC/$name.desktop \
+ $PKG/usr/share/applications/$name.desktop
+ install -D -m644 $SRC/$name.svg \
+ $PKG/usr/share/pixmaps/$name.svg
+ # finally we render a png as fallback for not svg aware menu applications
+ # Attention: always make sure you check the dimensions of the source-svg,
+ # you can read the dimensions via inkscapes export funktion
+ mkdir -p $PKG/usr/share/icons/hicolor/48x48/apps/
+ install -m 644 ../$name.svg $PKG/usr/share/icons/hicolor/48x48/apps/
+}