summaryrefslogtreecommitdiff
path: root/community/pcmanfm/PKGBUILD
blob: ef59a43b8c8cef52e13daa4afd4df9cc16ba4c30 (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
# $Id: PKGBUILD 97022 2013-09-10 14:32:02Z bpiotrowski $
# Maintainer:  Bartłomiej Piotrowski <barthalion@gmail.com>
# Contributor: Unknown47 <unknown47r@gmail.com>
# Contributor: Angel Velasquez <angvp@archlinux.org>
# Contributor: Juergen Hoetzel <juergen@archlinux.org>

pkgname=pcmanfm
pkgver=1.1.2
pkgrel=2
pkgdesc="An extremely fast and lightweight file manager"
arch=('i686' 'x86_64')
url="http://pcmanfm.sourceforge.net/"
license=('GPL')
groups=('lxde')
depends=('gtk2' 'desktop-file-utils' 'libfm' 'lxmenu-data')
makedepends=('intltool')
optdepends=('gvfs: for trash support, mounting with udisk and remote filesystems')
install=$pkgname.install
source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-$pkgver.tar.gz)
md5sums=('41104699e653ff2b0a9a9e80a257d6a2')

build() {
  cd $srcdir/$pkgname-$pkgver

  ./configure --sysconfdir=/etc --prefix=/usr 
  make LDFLAGS+=' -lm'
}

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

  sed -e 's|x-directory/normal|inode/directory|' -i $pkgdir/usr/share/applications/pcmanfm.desktop
}