diff options
-rw-r--r-- | .SRCINFO | 24 | ||||
-rw-r--r-- | PKGBUILD | 41 | ||||
-rw-r--r-- | pcmanfm.install | 12 |
3 files changed, 77 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 0000000..8b8613e --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,24 @@ +# Generated by makepkg 4.2.1 +# Mon Jun 1 13:54:16 UTC 2015 +pkgbase = pcmanfm-git + pkgdesc = An extremely fast, lightweight, yet feature-rich file manager with tabbed browsing + pkgver = 1.1.2.r36.g9b9dd4c + pkgrel = 1 + url = http://pcmanfm.sourceforge.net/ + install = pcmanfm.install + arch = i686 + arch = x86_64 + license = GPL + makedepends = git + makedepends = intltool + makedepends = pkg-config + depends = libfm-gtk-git + optdepends = gvfs: mounting of local and remote drives + optdepends = gnome-menus: applications menu and "Open with..." dialog + provides = pcmanfm + conflicts = pcmanfm + source = git://pcmanfm.git.sourceforge.net/gitroot/pcmanfm/pcmanfm + md5sums = SKIP + +pkgname = pcmanfm-git + 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: diff --git a/pcmanfm.install b/pcmanfm.install new file mode 100644 index 0000000..14027ae --- /dev/null +++ b/pcmanfm.install @@ -0,0 +1,12 @@ +post_install() { + update-mime-database usr/share/mime > /dev/null + update-desktop-database -q +} + +post_upgrade() { + post_install $1 +} + +post_remove() { + post_install $1 +} |