summaryrefslogtreecommitdiff
path: root/libre/spacefm/PKGBUILD
blob: f7bd4207c03908e9c1fd02c4f744874ad2f0b3d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# $Id: PKGBUILD 133107 2015-05-09 18:23:35Z arojas $
# 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=1.0.1
pkgrel=1.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=('gtk3' 'desktop-file-utils' 'startup-notification' 'ffmpegthumbnailer' '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'
            'udisks2: mount as non-root user')
replaces=(${pkgname}-libre)
conflicts=(${pkgname}-libre)
source=($pkgname-$pkgver.tar.gz::https://github.com/IgnorantGuru/spacefm/archive/$pkgver.tar.gz
        libre.patch)
md5sums=('3665b0cf08dcbebefcc832afc19d613e'
         '66cc35023050ff6664bf14b1073700e2')

prepare() {
  cd $pkgname-$pkgver
  # replace nonfree unrar with unar support
  patch -Np1 -i $srcdir/libre.patch
}

build() {
  cd $pkgname-$pkgver
  ./configure --prefix=/usr \
    --disable-pixmaps
  make
}

package() {
  cd $pkgname-$pkgver
  make DESTDIR="$pkgdir" install
}