Commit 29b5901d authored by Natanael Copa's avatar Natanael Copa
Browse files

community/libfm: fix circular dep

Let the libfm-extra aport own some of the files for bootstrapping:
libfm -> menu-cache -> libfm-extra
parent 17f717e7
# Maintainer:
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
# Contributor: Bartłomiej Piotrowski <bpiotrowski@alpinelinux.org>
pkgname=libfm
pkgver=1.3.1
pkgrel=1
pkgrel=2
pkgdesc="Library for file management"
url="https://wiki.lxde.org/en/PCManFM"
arch="all"
......@@ -28,33 +28,38 @@ source="
"
prepare() {
default_prepare
cd "$builddir"
./autogen.sh
}
build() {
cd "$builddir"
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--enable-udisks \
--disable-static \
--with-gtk=3 \
--with-gnu-ld
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
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
# files provided by libfm-extra for bootstrap
rm "$pkgdir"/usr/lib/libfm-extra.* \
"$pkgdir"/usr/lib/pkgconfig/libfm-extra.* \
"$pkgdir"/usr/include/libfm/fm-xml-file.h \
"$pkgdir"/usr/include/libfm/fm-extra.h \
"$pkgdir"/usr/include/libfm/fm-version.h
}
sha512sums="82bbcb1b9c7d4543bcb075906bdc1554462b041ad936e2f0334ae478302b19808cdbfe6d0c86a039bbd72a2491f2d2ada61a324fe3933a8dde16a03d93bef2bc libfm-1.3.1.tar.gz"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment