summaryrefslogtreecommitdiff
path: root/user/libdbusmenu
diff options
context:
space:
mode:
authorSíle Ekaterin Liszka <sheila@vulpine.house>2023-11-07 20:26:51 -0800
committerSíle Ekaterin Liszka <sheila@vulpine.house>2023-11-08 16:33:29 -0800
commitb78c14c72ed43d4d7a19f05655ea41da25fd6823 (patch)
tree3cc605b9b714446e4ed3504f6c4469a0e1512294 /user/libdbusmenu
parentc951d42bd697973cc0eda5abdfaa12ffc2d235a1 (diff)
downloadpackages-b78c14c72ed43d4d7a19f05655ea41da25fd6823.tar.gz
packages-b78c14c72ed43d4d7a19f05655ea41da25fd6823.tar.bz2
packages-b78c14c72ed43d4d7a19f05655ea41da25fd6823.tar.xz
packages-b78c14c72ed43d4d7a19f05655ea41da25fd6823.zip
user/libdbusmenu: new package
Diffstat (limited to 'user/libdbusmenu')
-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"