summaryrefslogtreecommitdiff
path: root/libre/spacefm/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'libre/spacefm/PKGBUILD')
-rw-r--r--libre/spacefm/PKGBUILD48
1 files changed, 48 insertions, 0 deletions
diff --git a/libre/spacefm/PKGBUILD b/libre/spacefm/PKGBUILD
new file mode 100644
index 000000000..5159a11b0
--- /dev/null
+++ b/libre/spacefm/PKGBUILD
@@ -0,0 +1,48 @@
+# $Id: PKGBUILD 116546 2014-07-29 18:12:51Z bpiotrowski $
+# Maintainer (Arch): Bartłomiej Piotrowski <nospam@bpiotrowski.pl>
+# Contributor (Arch): IgnorantGuru http://igurublog.wordpress.com/contact-ignorantguru/
+# Contributor (Arch): ridikulus_rat <the.ridikulus.rat@gmail.com>
+# Maintainer: André Silva <emulatorman@parabola.nu>
+# Contributor: Edison Ibañez <arkhan.xxx@gmail.com>
+
+pkgname=spacefm
+pkgver=0.9.4
+pkgrel=2.parabola1
+pkgdesc='Multi-panel tabbed file manager, with unar support'
+arch=('i686' 'x86_64' 'mips64el')
+url='http://ignorantguru.github.com/spacefm/'
+license=('GPL3')
+install=$pkgname.install
+depends=('gtk2' 'shared-mime-info' 'desktop-file-utils' 'startup-notification'
+ 'systemd' 'bash' 'unar')
+makedepends=('intltool' 'gettext')
+optdepends=('lsof: device processes'
+ 'wget: plugin download'
+ 'gksu: perform as root functionality'
+ 'udevil: mount as non-root user and mount networks'
+ 'udisks: mount as non-root user'
+ 'udisks2: mount as non-root user')
+replaces=(${pkgname}-libre)
+conflicts=(${pkgname}-libre)
+source=(https://github.com/IgnorantGuru/spacefm/archive/$pkgver.tar.gz
+ libre.patch)
+md5sums=('daeee7dcccea33d6258a0a9d783470c4'
+ '30ba2b4b8f5ae7bf1552689b192eab89')
+
+prepare() {
+ # replace nonfree unrar with unar support
+ cd $pkgname-$pkgver
+ patch -Np1 -i $srcdir/libre.patch src/ptk/ptk-file-archiver.c
+}
+
+build() {
+ cd $pkgname-$pkgver
+ ./configure --prefix=/usr \
+ --disable-pixmaps
+ make
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+}