summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
Diffstat (limited to 'user')
-rw-r--r--user/libfm-extra/APKBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/user/libfm-extra/APKBUILD b/user/libfm-extra/APKBUILD
new file mode 100644
index 000000000..47e995043
--- /dev/null
+++ b/user/libfm-extra/APKBUILD
@@ -0,0 +1,36 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=libfm-extra
+pkgver=1.3.0.2
+pkgrel=0
+pkgdesc="Library for generating menu caches"
+url="https://wiki.lxde.org/en/PCManFM"
+arch="all"
+license="GPL-2.0+"
+makedepends="glib-dev"
+subpackages="$pkgname-dev"
+source="https://downloads.sourceforge.net/pcmanfm/libfm-$pkgver.tar.xz"
+# because of course it's in the libfm tarball
+builddir="$srcdir/libfm-$pkgver"
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --with-extra-only \
+ --disable-static
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="179cc0350509cb1a8a60b89f8145169857926c7cc3dadb9f61078d4dba79709b248b3d05862e78c11747f1fc4e45825ad6f4916d423ae5e346e5274d34197445 libfm-1.3.0.2.tar.xz"