updated on Thu Jan 26 00:18:00 UTC 2012
[aur-mirror.git] / pcmanfm-mod-prov / PKGBUILD
blob4ad97b5811a3d994ed3c6cf55b409790006ff8bd
1 # Maintainer: IgnorantGuru  http://igurublog.wordpress.com/contact-ignorantguru/
2 # The AUR pcmanfm-mod package does not provide pcmanfm and can thus be
3 # installed concurrently with other versions of pcmanfm.
4 # The AUR pcmanfm-mod-prov package provides pcmanfm and thus conflicts
5 # with other versions of pcmanfm.
6 # The AUR pcmanfm-mod-nohal package is built without hal dependency - this
7 # version has no built-in volume management support.
8 pkgname=pcmanfm-mod-prov
9 pkgver=1.2.4
10 pkgrel=1
11 pkgdesc="A modified version of the legacy PCMan File Manager v0.5.2 - provides pcmanfm"
12 arch=('i686' 'x86_64')
13 url=("http://igurublog.wordpress.com/downloads/mod-pcmanfm/")
14 license=('GPL2')
15 depends=('gtk2' 'gamin' 'hal' 'shared-mime-info' 'desktop-file-utils' 'startup-notification')
16 optdepends=('fam: alternative to gamin' 'gksu: perform as root functionality' 'gnome-icon-theme')
17 makedepends=('intltool' 'gettext')
18 provides=('pcmanfm-mod' 'pcmanfm')
19 conflicts=('pcmanfm-mod' 'pcmanfm' 'pcmanfm-mod-nohal')
20 install=pcmanfm-mod-prov.install
21 source=("http://downloads.sourceforge.net/project/pcmanfm-mod/pcmanfm-mod-$pkgver.tar.xz")
22 md5sums=('db72023f66adc18bb6c0b07f0f346d9d')
23 sha256sums=('19a07615e9051ee598a8a7d9088ec139868ffeccb92fb087cbff97678e6ebb8e')
25 build() {
26     cd "$srcdir/pcmanfm-mod-$pkgver"
27     # NOTE: To disable hal support and dependencies, add --disable-hal to
28     #       configure line below.  See README for details.
29     # NOTE: To change su program from default ktsuss, add for example
30     #       --with-preferable-sudo=gksudo to configure line below.
31     ./configure --prefix=/usr
32     make || return 1
33     make DESTDIR=$pkgdir install || return 1
34     install -Dm755 "$srcdir/pcmanfm-mod-$pkgver/pcmanfm-opener" "$pkgdir/usr/bin/pcmanfm-opener"