summaryrefslogtreecommitdiff
path: root/community/rox/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/rox/PKGBUILD')
-rw-r--r--community/rox/PKGBUILD36
1 files changed, 18 insertions, 18 deletions
diff --git a/community/rox/PKGBUILD b/community/rox/PKGBUILD
index 2c30f6257..d180f9254 100644
--- a/community/rox/PKGBUILD
+++ b/community/rox/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 83182 2013-01-27 16:26:58Z pierre $
+# $Id: PKGBUILD 114073 2014-07-01 13:06:37Z kkeen $
# Maintainer: tobias <tobias@archlinux.org>
# Contributor: Jochem Kossen <j.kossen@home.nl>
pkgname=rox
pkgver=2.11
-pkgrel=1
+pkgrel=2
pkgdesc="A small and fast file manager which can optionally manage the desktop background and panels"
arch=('i686' 'x86_64')
license=('GPL')
@@ -19,26 +19,26 @@ md5sums=('0eebf05a67f7932367750ebf9faf215d'
'31578a90b241f0a8d09c9f8587608d00')
build() {
- cd "${srcdir}/rox-filer-${pkgver}"
+ cd "$srcdir/rox-filer-$pkgver"
./ROX-Filer/AppRun --compile LIBS="-ldl -lm"
-# finally we render a png as fallback for svg unaware menu applications
-# Attention: always make sure you check the dimensions of the source-svg,
-# you can read the dimensions via inkscape's export function
- rsvg-convert -w 48 -h 38 -f png -o "${srcdir}/rox.png" "${srcdir}/rox.svg"
+ # finally we render a png as fallback for svg unaware menu applications
+ # Attention: always make sure you check the dimensions of the source-svg,
+ # you can read the dimensions via inkscape's export function
+ rsvg-convert -w 48 -h 38 -f png -o "$srcdir/rox.png" "$srcdir/rox.svg"
}
package() {
- cd "${srcdir}/rox-filer-${pkgver}"
- install -d "${pkgdir}/usr/share/Choices/MIME-types"
- install -m755 Choices/MIME-types/* "${pkgdir}/usr/share/Choices/MIME-types/"
- cp -rp ROX-Filer "${pkgdir}/usr/share/"
- rm -fr "${pkgdir}"/usr/share/ROX-Filer/{src,build}
+ cd "$srcdir/rox-filer-$pkgver"
+ install -d "$pkgdir/usr/share/Choices/MIME-types"
+ install -m755 Choices/MIME-types/* "$pkgdir/usr/share/Choices/MIME-types/"
+ cp -rp ROX-Filer "$pkgdir/usr/share/"
+ rm -fr "$pkgdir"/usr/share/ROX-Filer/{src,build}
- install -D -m755 "${srcdir}/rox.sh" "${pkgdir}/usr/bin/rox"
- install -D -m644 rox.1 "${pkgdir}/usr/share/man/man1/rox.1"
- ln -sf rox.1 "${pkgdir}/usr/share/man/man1/ROX-Filer.1"
+ install -Dm755 "$srcdir/rox.sh" "$pkgdir/usr/bin/rox"
+ install -Dm644 rox.1 "$pkgdir/usr/share/man/man1/rox.1"
+ ln -sf rox.1 "$pkgdir/usr/share/man/man1/ROX-Filer.1"
- install -D -m644 "${srcdir}/rox.desktop" "${pkgdir}/usr/share/applications/rox.desktop"
- install -D -m644 "${srcdir}/rox.svg" "${pkgdir}/usr/share/pixmaps/rox.svg"
- install -D -m644 "${srcdir}/rox.png" "${pkgdir}/usr/share/pixmaps/rox.png"
+ install -Dm644 "$srcdir/rox.desktop" "$pkgdir/usr/share/applications/rox.desktop"
+ install -Dm644 "$srcdir/rox.svg" "$pkgdir/usr/share/pixmaps/rox.svg"
+ install -Dm644 "$srcdir/rox.png" "$pkgdir/usr/share/pixmaps/rox.png"
}