updated on Mon Jan 23 16:10:15 UTC 2012
[aur-mirror.git] / pcmanfm-mod / PKGBUILD
blob9b96eccc83a0544c42eca90618eb2f1740ad5e16
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
9 pkgver=1.2.4
10 pkgrel=1
11 pkgdesc="A modified version of the legacy PCMan File Manager v0.5.2"
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 conflicts=('pcmanfm-mod-prov' 'pcmanfm-mod-nohal')
19 install=pcmanfm-mod.install
20 source=("http://downloads.sourceforge.net/project/pcmanfm-mod/pcmanfm-mod-$pkgver.tar.xz")
21 md5sums=('db72023f66adc18bb6c0b07f0f346d9d')
22 sha256sums=('19a07615e9051ee598a8a7d9088ec139868ffeccb92fb087cbff97678e6ebb8e')
24 build() {
25     cd "$srcdir/pcmanfm-mod-$pkgver"
26     # NOTE: To disable hal support and dependencies, add --disable-hal to
27     #       configure line below.  See README for details.
28     # NOTE: To change su program from default ktsuss, add for example
29     #       --with-preferable-sudo=gksudo to configure line below.
30     ./configure --prefix=/usr
31     make || return 1
32     make DESTDIR=$pkgdir install || return 1
33     install -Dm755 "$srcdir/pcmanfm-mod-$pkgver/pcmanfm-opener" "$pkgdir/usr/bin/pcmanfm-opener"