summaryrefslogtreecommitdiff
path: root/community/pcmanfm/PKGBUILD
blob: 417d469ff5d29a77e9358d43d15e302638a36938 (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 74709 2012-08-02 09:11:53Z 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=0.9.10
pkgrel=3
pkgdesc="An extremely fast and lightweight file manager"
arch=('i686' 'x86_64' 'mips64el')
url="http://pcmanfm.sourceforge.net/"
license=('GPL')
groups=('lxde')
depends=('gtk2' 'desktop-file-utils' 'libfm' 'lxmenu-data')
makedepends=('intltool' 'pkgconfig')
install=$pkgname.install
source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-$pkgver.tar.gz)
md5sums=('d34a3530a6c5dcd674d23021d71c3e95')

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

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

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

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