# Maintainer: Johannes Löthberg # Contributor: TDY pkgname=pcmanfm-git pkgver=git pkgrel=1 pkgdesc="An extremely fast, lightweight, yet feature-rich file manager with tabbed browsing" arch=('i686' 'x86_64') url="http://pcmanfm.sourceforge.net/" license=('GPL') depends=('libfm-gtk-git') makedepends=('git' 'intltool' 'pkg-config') optdepends=('gvfs: mounting of local and remote drives' 'gnome-menus: applications menu and "Open with..." dialog') provides=('pcmanfm') conflicts=('pcmanfm') install=pcmanfm.install source=('git://pcmanfm.git.sourceforge.net/gitroot/pcmanfm/pcmanfm') md5sums=('SKIP') pkgver() { cd pcmanfm git describe --always --long | sed 's/-/-r/; s/-/./g' } build() { cd pcmanfm ./autogen.sh ./configure --prefix=/usr --sysconfdir=/etc make LDFLAGS="-lm ${LDFLAGS}" } package() { make -C pcmanfm DESTDIR="$pkgdir" install }