summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--user/menu-cache/APKBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/user/menu-cache/APKBUILD b/user/menu-cache/APKBUILD
new file mode 100644
index 000000000..0ed6c1272
--- /dev/null
+++ b/user/menu-cache/APKBUILD
@@ -0,0 +1,30 @@
+# Contributor: Bartłomiej Piotrowski <bpiotrowski@alpinelinux.org>
+# Maintainer:
+pkgname=menu-cache
+pkgver=1.1.0
+pkgrel=0
+pkgdesc="Caching mechanism for freedesktop.org menus"
+url="https://lxde.org/"
+arch="all"
+options="!check libtool" # No test suite.
+license="GPL-2.0+"
+makedepends="glib-dev libfm-extra-dev"
+subpackages="$pkgname-dev"
+source="https://downloads.sourceforge.net/lxde/menu-cache/1.1/$pkgname-$pkgver.tar.xz"
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --libexecdir=/usr/lib/menu-cache \
+ --disable-static
+ make
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="e4c6619ade7b9a1b97c1366bb94dffb9975be5664b193cf0c69cf9470ef7ae19bda3390d04d98ee9a5b1658ec48aa5c83508c26c347af689161ee67c076b3c9e menu-cache-1.1.0.tar.xz"