summaryrefslogtreecommitdiff
path: root/user/libdbusmenu/APKBUILD
blob: c4704883545d6666f611b9157fc5acb6532b9b39 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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"