diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 41 |
1 files changed, 41 insertions, 0 deletions
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 <johannes@kyriasis.com> +# Contributor: TDY <tdy@gmx.com> + +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: |