summaryrefslogtreecommitdiff
path: root/community/pcmanfm
diff options
context:
space:
mode:
Diffstat (limited to 'community/pcmanfm')
-rw-r--r--community/pcmanfm/PKGBUILD8
-rw-r--r--community/pcmanfm/pcmanfm.install11
2 files changed, 17 insertions, 2 deletions
diff --git a/community/pcmanfm/PKGBUILD b/community/pcmanfm/PKGBUILD
index 092d2aa4b..5d5befdb4 100644
--- a/community/pcmanfm/PKGBUILD
+++ b/community/pcmanfm/PKGBUILD
@@ -1,22 +1,26 @@
+# $Id: PKGBUILD 72347 2012-06-12 17:01:09Z 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=0.9.10
-pkgrel=1
-pkgdesc="File manager of the LXDE Desktop"
+pkgrel=2
+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=('d34a3530a6c5dcd674d23021d71c3e95')
build() {
cd "$srcdir/$pkgname-$pkgver"
+ LDFLAGS+=' -lm'
./configure --sysconfdir=/etc --prefix=/usr
make
}
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
+}