aboutsummaryrefslogtreecommitdiffstats
path: root/main/eggdbus/APKBUILD
blob: eb88badcf8e7290884279c328ed3c17ebc2db7c5 (plain)
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
37
38
39
40
41
42
43
44
45
# Contributor: Carlo Landmeter
# Maintainer:  Francesco Colista <fcolista@alpinelinux.org>
pkgname=eggdbus
pkgver=0.6
pkgrel=5
pkgdesc="Experimental D-Bus bindings for GObject"
url="https://cgit.freedesktop.org/~david/eggdbus"
arch="all"
license="GPL"
makedepends="glib-dev dbus-glib-dev"
subpackages="$pkgname-dev $pkgname-doc"
source="https://hal.freedesktop.org/releases/$pkgname-$pkgver.tar.gz"

builddir="$srcdir"/$pkgname-$pkgver

prepare() {
	default_prepare
	cd "$builddir"
	update_config_sub
}

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--disable-static
	make -j1
}

check() {
	cd "$builddir"
	make check
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}

sha512sums="76fbb32166fdedb68b8b552a2e5c25d00399ecf34425ec57ba008af8ba4d4fc0dfa19cfdeedd1a4a2bed8750a0be146c88a083b1d518de020afb7b5ca96f2fda  eggdbus-0.6.tar.gz"