summaryrefslogtreecommitdiff
path: root/community/libfm/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/libfm/PKGBUILD')
-rw-r--r--community/libfm/PKGBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/community/libfm/PKGBUILD b/community/libfm/PKGBUILD
new file mode 100644
index 000000000..c0444b87b
--- /dev/null
+++ b/community/libfm/PKGBUILD
@@ -0,0 +1,37 @@
+# $Id: PKGBUILD 95465 2013-08-12 19:44:52Z bpiotrowski $
+# Maintainer: Bartłomiej Piotrowski <nospam@bpiotrowski.pl>
+# Contributor: Unknown47 <unknown47r@gmail.com>
+# Contributor: Angel Velasquez <angvp@archlinux.org>
+# Contributor: Juergen Hoetzel <juergen@archlinux.org>
+
+pkgname=libfm
+pkgver=1.1.2
+pkgrel=1
+pkgdesc='Library for file management'
+url='http://pcmanfm.sourceforge.net/'
+arch=('i686' 'x86_64')
+license=('GPL')
+groups=('lxde')
+options=('!libtool')
+install=libfm.install
+depends=('gtk2' 'menu-cache' 'shared-mime-info' 'udisks' 'desktop-file-utils')
+source=(http://downloads.sourceforge.net/pcmanfm/$pkgname-$pkgver.tar.gz)
+md5sums=('c09072e26b9688a7d171843c0da9b33f')
+
+build() {
+ cd $pkgname-$pkgver
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --enable-udisks \
+ --with-gnu-ld
+ make LDFLAGS+=' -lgobject-2.0 -lglib-2.0'
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+
+ # Temporary fix to FS#32361
+ rm "$pkgdir"/usr/include/libfm
+ mv "$pkgdir"/usr/include/libfm-1.0/ "$pkgdir"/usr/include/libfm
+}