summaryrefslogtreecommitdiff
path: root/user/libdbusmenu/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'user/libdbusmenu/APKBUILD')
-rw-r--r--user/libdbusmenu/APKBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/user/libdbusmenu/APKBUILD b/user/libdbusmenu/APKBUILD
new file mode 100644
index 000000000..c47048835
--- /dev/null
+++ b/user/libdbusmenu/APKBUILD
@@ -0,0 +1,36 @@
+# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house>
+# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
+pkgname=libdbusmenu
+pkgver=16.04.0
+pkgrel=0
+pkgdesc="Library for passing menus over DBus"
+url="https://launchpad.net/libdbusmenu"
+arch="all"
+options="!check" # testsuite requires dbus-test-runner
+license="LGPL-2.1-only OR LGPL-3.0-only"
+depends=""
+makedepends="dbus-dev glib-dev gobject-introspection-dev gtk+3.0-dev gtk-doc
+ intltool json-glib-dev vala-dev"
+subpackages="$pkgname-doc $pkgname-dev"
+source="https://launchpad.net/libdbusmenu/16.04/$pkgver/+download/libdbusmenu-$pkgver.tar.gz"
+
+build() {
+ CFLAGS="-Wno-error" ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var
+ make
+}
+
+check() {
+ make check
+}
+
+package() {
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="ee9654ac4ed94bdebc94a6db83b126784273a417a645b2881b2ba676a5f67d7fc95dd2bb37bfb0890aa47299ed73cb21ed7de8b75f3fed6b69bfd39065062241 libdbusmenu-16.04.0.tar.gz"