# Maintainer: A. Wilcox pkgname=libdbusmenu pkgver=16.04.0 pkgrel=0 pkgdesc="Library for passing menus over D-Bus" url="https://launchpad.net/libdbusmenu" arch="all" options="!check" # Requires Python 2. license="(LGPL-2.1-only OR LGPL-3.0-only) AND GPL-3.0-only" depends="" makedepends="atk-dev glib-dev gobject-introspection-dev gtk-doc gtk+3.0-dev intltool json-glib-dev libx11-dev libxslt-dev vala-dev" subpackages="$pkgname-doc $pkgname-dev" source="https://launchpad.net/libdbusmenu/16.04/$pkgver/+download/libdbusmenu-$pkgver.tar.gz" build() { export CFLAGS="$CFLAGS -Wno-error" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --localstatedir=/var \ --disable-static \ --enable-introspection make } check() { make check } package() { make DESTDIR="$pkgdir" install } sha512sums="ee9654ac4ed94bdebc94a6db83b126784273a417a645b2881b2ba676a5f67d7fc95dd2bb37bfb0890aa47299ed73cb21ed7de8b75f3fed6b69bfd39065062241 libdbusmenu-16.04.0.tar.gz"