summaryrefslogtreecommitdiff
path: root/community/spacefm
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-08-13 01:33:19 -0700
committerroot <root@rshg054.dnsready.net>2013-08-13 01:33:19 -0700
commit7a65a910b77ad191d69881098c47f9b0c852d92e (patch)
tree9564e611af1442f8952a8cbddb3b0ad25ed71aab /community/spacefm
parent60da6abff6c9577a783d72865f11de7a585e912e (diff)
Tue Aug 13 01:31:08 PDT 2013
Diffstat (limited to 'community/spacefm')
-rw-r--r--community/spacefm/PKGBUILD37
-rw-r--r--community/spacefm/spacefm.install14
2 files changed, 51 insertions, 0 deletions
diff --git a/community/spacefm/PKGBUILD b/community/spacefm/PKGBUILD
new file mode 100644
index 000000000..50a3db338
--- /dev/null
+++ b/community/spacefm/PKGBUILD
@@ -0,0 +1,37 @@
+# $Id: PKGBUILD 86533 2013-03-18 17:58:18Z bpiotrowski $
+# Maintainer: Bartłomiej Piotrowski <nospam@bpiotrowski.pl>
+# Contributor: IgnorantGuru http://igurublog.wordpress.com/contact-ignorantguru/
+# Contributor: ridikulus_rat <the.ridikulus.rat@gmail.com>
+
+pkgname=spacefm
+pkgver=0.8.7
+pkgrel=1
+pkgdesc='Multi-panel tabbed file manager'
+arch=('i686' 'x86_64')
+url='http://ignorantguru.github.com/spacefm/'
+license=('GPL3')
+install=$pkgname.install
+depends=('gtk3' 'shared-mime-info' 'desktop-file-utils' 'startup-notification' 'udev')
+makedepends=('intltool' 'gettext')
+optdepends=('lsof: device processes'
+ 'eject: eject media'
+ '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')
+source=(https://raw.github.com/IgnorantGuru/$pkgname/master/packages/$pkgver/$pkgname-$pkgver.tar.xz)
+sha256sums=('3e48f276df4505b69d24fbeb4b5a869cf316503e2395bef467a29a5207b23947')
+
+build() {
+ cd $srcdir/$pkgname-$pkgver
+ ./configure --prefix=/usr \
+ --disable-pixmaps \
+ --with-gtk3
+ make
+}
+
+package() {
+ cd $srcdir/$pkgname-$pkgver
+ make DESTDIR=$pkgdir install
+}
diff --git a/community/spacefm/spacefm.install b/community/spacefm/spacefm.install
new file mode 100644
index 000000000..f2954aa73
--- /dev/null
+++ b/community/spacefm/spacefm.install
@@ -0,0 +1,14 @@
+post_install() {
+ update-mime-database usr/share/mime > /dev/null
+ update-desktop-database -q
+ gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
+ [ -d /usr/share/icons/Faenza ] && gtk-update-icon-cache -q -t -f /usr/share/icons/Faenza
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}