diff options
author | Johannes Löthberg <johannes@kyriasis.com> | 2013-10-19 22:25:50 +0200 |
---|---|---|
committer | Johannes Löthberg <johannes@kyriasis.com> | 2015-06-08 12:21:36 +0200 |
commit | eae8a600524ddb5c67fa89f36b186b6649fbd8a1 (patch) | |
tree | bc30fee608e9e0974a9bdcb3e94d0207aaded247 /PKGBUILD | |
download | pkgbuilds-eae8a600524ddb5c67fa89f36b186b6649fbd8a1.tar.xz |
pcmanfm-git: Adopted pcmanfm-git.
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: |