diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
commit | 415856bdd4f48ab4f2732996f0bae58595092bbe (patch) | |
tree | ede2018b591f6dfb477fe9341ba17b9bc000fab9 /extra/rox/PKGBUILD |
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'extra/rox/PKGBUILD')
-rw-r--r-- | extra/rox/PKGBUILD | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/extra/rox/PKGBUILD b/extra/rox/PKGBUILD new file mode 100644 index 000000000..34b72f227 --- /dev/null +++ b/extra/rox/PKGBUILD @@ -0,0 +1,51 @@ +# $Id: PKGBUILD 46891 2009-07-20 23:09:07Z giovanni $ +# Maintainer: tobias <tobias@archlinux.org> +# Contributor: Jochem Kossen <j.kossen@home.nl> + +pkgname=rox +_appname=${pkgname}-filer +pkgver=2.10 +pkgrel=1 +pkgdesc="A small and fast file manager which can optionally manage the desktop background and panels." +arch=(i686 x86_64) +license=('GPL2') +url="http://roscidus.com/desktop/" +depends=('libxml2' 'gtk2' 'shared-mime-info' 'bash' 'libsm' 'libglade') +makedepends=('librsvg' 'python') +source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${_appname}-${pkgver}.tar.bz2 \ + ${pkgname}.desktop ${pkgname}.svg) +md5sums=('28e8494c9af783258ff86c830f8f0062' + '80e7a90e9d58375b25494fbdc01a05bd' + '658c8648b51e215558e13e6afb2b5c76') + +build() { + cd ${startdir}/src/${_appname}-${pkgver}/Choices + mkdir -p ${startdir}/pkg/usr/share/Choices + cp -rp MIME-types ${startdir}/pkg/usr/share/Choices/ + # manually copy the manpages first + cd ../ + install -Dm 0644 rox.1 ${startdir}/pkg/usr/share/man/man1/rox.1 + cd ${startdir}/pkg/usr/share/man/man1 + ln -sf rox.1 ROX-Filer.1 + # this compiles and installs rox + cd ${startdir}/src/${_appname}-${pkgver}/ROX-Filer + ./AppRun --compile + cd .. + cp -rp ROX-Filer ${startdir}/pkg/usr/share/ + rm -fr ${startdir}/pkg/usr/share/ROX-Filer/{src,build} + # create a shellscript which is known in the PATH + mkdir -p ${startdir}/pkg/usr/bin + echo "#!/bin/sh" > "${startdir}/pkg/usr/bin/rox" + echo "exec /usr/share/ROX-Filer/AppRun \"\$@\"" >> "${startdir}/pkg/usr/bin/rox" + chmod a+x ${startdir}/pkg/usr/bin/rox + # install some freedesktop.org compatibility + install -D -m644 ${startdir}/src/${pkgname}.desktop \ + ${startdir}/pkg/usr/share/applications/${pkgname}.desktop + install -D -m644 ${startdir}/src/${pkgname}.svg \ + ${startdir}/pkg/usr/share/pixmaps/${pkgname}.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 + rsvg -w 48 -h 38 -f png ${startdir}/src/${pkgname}.svg \ + ${startdir}/pkg/usr/share/pixmaps/${pkgname}.png +} |