# Contributor: Bartłomiej Piotrowski <bpiotrowski@alpinelinux.org> # Maintainer: 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+" makedepends="dbus-glib-dev glib-dev gtk+2.0-dev intltool libexif-dev menu-cache-dev udisks2-dev" subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" replaces="libfm-extra" source="https://downloads.sourceforge.net/pcmanfm/$pkgname-$pkgver.tar.xz" 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 } dev() { default_dev replaces="libfm-extra-dev" } sha512sums="179cc0350509cb1a8a60b89f8145169857926c7cc3dadb9f61078d4dba79709b248b3d05862e78c11747f1fc4e45825ad6f4916d423ae5e346e5274d34197445 libfm-1.3.0.2.tar.xz"