# $Id: PKGBUILD 75067 2012-08-13 13:28:46Z bpiotrowski $ # Maintainer: Bartłomiej Piotrowski # Contributor: Unknown47 # Contributor: Angel Velasquez # Contributor: Juergen Hoetzel pkgname=pcmanfm pkgver=1.0 pkgrel=1 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=('df082fde42c4036b220cd3167ceab98e') build() { cd "$srcdir/$pkgname-$pkgver" ./configure --sysconfdir=/etc --prefix=/usr make LDFLAGS="-lm $LDFLAGS" } package() { cd "$srcdir/$pkgname-$pkgver" make DESTDIR="$pkgdir" install sed -e 's|x-directory/normal|inode/directory|' -i $pkgdir/usr/share/applications/pcmanfm.desktop }