From eae8a600524ddb5c67fa89f36b186b6649fbd8a1 Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Sat, 19 Oct 2013 22:25:50 +0200 Subject: pcmanfm-git: Adopted pcmanfm-git. --- PKGBUILD | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 PKGBUILD (limited to 'PKGBUILD') diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..48cbf65 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,41 @@ +# Maintainer: Johannes Löthberg +# Contributor: TDY + +pkgname=pcmanfm-git +pkgver=1.1.2.r36.g9b9dd4c +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 "$srcdir"/pcmanfm + + git describe --always --long | sed -E 's/([^-]*-g)/r\1/;s/-/./g' +} + +build() { + cd "$srcdir"/pcmanfm + + msg "Starting make..." + ./autogen.sh + ./configure --prefix=/usr --sysconfdir=/etc + make LDFLAGS="-lm ${LDFLAGS}" +} + +package() { + cd "$srcdir"/pcmanfm + make DESTDIR="$pkgdir" install +} + +# vim: set ts=4 sw=4 noet: -- cgit v1.2.3-70-g09d2