summaryrefslogtreecommitdiff
path: root/community/pcmanfm
diff options
context:
space:
mode:
Diffstat (limited to 'community/pcmanfm')
-rw-r--r--community/pcmanfm/PKGBUILD33
-rw-r--r--community/pcmanfm/pcmanfm.install11
2 files changed, 44 insertions, 0 deletions
diff --git a/community/pcmanfm/PKGBUILD b/community/pcmanfm/PKGBUILD
new file mode 100644
index 000000000..70d01156c
--- /dev/null
+++ b/community/pcmanfm/PKGBUILD
@@ -0,0 +1,33 @@
+# $Id: PKGBUILD 79229 2012-11-01 10:32:52Z bpiotrowski $
+# Maintainer: Bartłomiej Piotrowski <barthalion@gmail.com>
+# Contributor: Unknown47 <unknown47r@gmail.com>
+# Contributor: Angel Velasquez <angvp@archlinux.org>
+# Contributor: Juergen Hoetzel <juergen@archlinux.org>
+
+pkgname=pcmanfm
+pkgver=1.1.0
+pkgrel=1
+pkgdesc="An extremely fast and lightweight file manager"
+arch=('i686' 'x86_64')
+url="http://pcmanfm.sourceforge.net/"
+license=('GPL')
+groups=('lxde')
+depends=('gtk2' 'desktop-file-utils' 'libfm' 'lxmenu-data')
+makedepends=('intltool' 'pkgconfig')
+install=$pkgname.install
+source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-$pkgver.tar.gz)
+md5sums=('af0cff78690e658f3c06ceabf27bc71a')
+
+build() {
+ cd $srcdir/$pkgname-$pkgver
+
+ ./configure --sysconfdir=/etc --prefix=/usr
+ make LDFLAGS+=' -lm'
+}
+
+package() {
+ cd $srcdir/$pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+
+ sed -e 's|x-directory/normal|inode/directory|' -i $pkgdir/usr/share/applications/pcmanfm.desktop
+}
diff --git a/community/pcmanfm/pcmanfm.install b/community/pcmanfm/pcmanfm.install
new file mode 100644
index 000000000..8f20cf484
--- /dev/null
+++ b/community/pcmanfm/pcmanfm.install
@@ -0,0 +1,11 @@
+post_install() {
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ update-desktop-database -q
+}
+
+post_remove() {
+ update-desktop-database -q
+}