From 9d0c8979390868a2913fc8830a9f62a45174746b Mon Sep 17 00:00:00 2001 From: root Date: Mon, 7 May 2012 00:01:27 +0000 Subject: Mon May 7 00:01:27 UTC 2012 --- community/spacefm/PKGBUILD | 44 +++++++++++++++++++++++++++++++++++++++ community/spacefm/spacefm.install | 12 +++++++++++ 2 files changed, 56 insertions(+) create mode 100644 community/spacefm/PKGBUILD create mode 100644 community/spacefm/spacefm.install (limited to 'community/spacefm') diff --git a/community/spacefm/PKGBUILD b/community/spacefm/PKGBUILD new file mode 100644 index 000000000..303105ede --- /dev/null +++ b/community/spacefm/PKGBUILD @@ -0,0 +1,44 @@ +# $Id: PKGBUILD 70364 2012-05-05 07:51:43Z bpiotrowski $ +# Maintainer: Bartłomiej Piotrowski +# Contributor: IgnorantGuru http://igurublog.wordpress.com/contact-ignorantguru/ +# Contributor: ridikulus_rat + +pkgname=spacefm +pkgver=0.7.6 +pkgrel=2 +pkgdesc="A multi-panel tabbed file manager" +arch=('i686' 'x86_64') +url="http://ignorantguru.github.com/spacefm/" +license=('GPL2') +install=$pkgname.install +depends=('gtk2' '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' + 'pmount: mount as non-root user' + 'udisks: mount as non-root user' + 'udisks2: mount as non-root user') +source=(https://raw.github.com/IgnorantGuru/spacefm/master/packages/${pkgver}/spacefm-${pkgver}.tar.xz) +md5sums=('572b256ab46073d8bb065999bd531423') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + + # NOTE: To enable hal support add --enable-hal to + # configure line below. See README for details. + # NOTE: To disable inotify and use fam or gamin instead, add: + # --disable-inotify to configure line below. + # NOTE: To add a custom su program (mysu in this example), add: + # --with-preferable-sudo="mysu" to configure line below. + + ./configure --prefix=/usr + 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..1182e768f --- /dev/null +++ b/community/spacefm/spacefm.install @@ -0,0 +1,12 @@ +post_install() { + update-mime-database usr/share/mime > /dev/null + update-desktop-database -q +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} -- cgit v1.2.3-54-g00ecf