# Maintainer: # Contributor: Bartłomiej Piotrowski pkgname=libfm pkgver=1.3.0.2 pkgrel=0 pkgdesc="Library for file management" url="https://wiki.lxde.org/en/PCManFM" arch="all" license="GPL-2.0-or-later" makedepends="gtk+2.0-dev menu-cache-dev udisks-dev intltool dbus-glib-dev libexif-dev vala gtk-doc automake autoconf libtool" options="libtool" subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" source="$pkgname-$pkgver.tar.gz::https://github.com/lxde/$pkgname/archive/$pkgver.tar.gz " prepare() { cd "$builddir" ./autogen.sh } build() { cd "$builddir" ./configure \ --prefix=/usr \ --sysconfdir=/etc \ --enable-udisks \ --with-gnu-ld make } check() { cd "$builddir" make check } package() { cd "$builddir" make DESTDIR="$pkgdir" install rm -rf "$pkgdir"/usr/include/libfm mv "$pkgdir"/usr/include/libfm-1.0/ "$pkgdir"/usr/include/libfm } sha512sums="c954c7210b6eee66ec265490e16fe91fe7995cd95b340f49197eec60a9af94f1ca0f67861dd5455c0deb81a10f5091cbf3dc471ed224477acdc081b48d036c69 libfm-1.3.0.2.tar.gz"