diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2017-09-07 15:05:24 -0500 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2017-09-20 10:01:08 +0000 |
commit | f8d90b7ecf82927cd350f70c416a45954f3f62a7 (patch) | |
tree | 957ea2aa2bacbe1f9c886363a9196d1806ac6203 /main/dbus-glib | |
parent | ac5439a7518ae3f1b23d1bda20f22e3404533fa4 (diff) | |
download | aports-f8d90b7ecf82927cd350f70c416a45954f3f62a7.tar.bz2 aports-f8d90b7ecf82927cd350f70c416a45954f3f62a7.tar.xz |
main/dbus-glib: modernise, add test suite
Diffstat (limited to 'main/dbus-glib')
-rw-r--r-- | main/dbus-glib/APKBUILD | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/main/dbus-glib/APKBUILD b/main/dbus-glib/APKBUILD index 8aaa236e24..0de0ada06a 100644 --- a/main/dbus-glib/APKBUILD +++ b/main/dbus-glib/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=dbus-glib pkgver=0.108 -pkgrel=0 +pkgrel=1 pkgdesc="GLib bindings for DBUS" url="http://www.freedesktop.org/wiki/Software/DBusBindings" arch="all" @@ -10,12 +10,9 @@ subpackages="$pkgname-dev $pkgname-doc" depends= makedepends="dbus-dev glib-dev gettext-dev expat-dev" source="http://dbus.freedesktop.org/releases/$pkgname/$pkgname-$pkgver.tar.gz" -depends_dev="" - -_builddir="$srcdir/$pkgname-$pkgver" build() { - cd "$_builddir" + cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ @@ -23,14 +20,18 @@ build() { --sysconfdir=/etc \ --localstatedir=/var \ --enable-static=no \ - --enable-bash-completion=no \ - || return 1 - make || return 1 + --enable-bash-completion=no + make +} + +check() { + cd "$builddir" + make check } package() { - cd "$srcdir"/$pkgname-$pkgver - make DESTDIR="$pkgdir" install || return 1 + cd "$builddir" + make DESTDIR="$pkgdir" install } md5sums="a66a613705870752ca9786e0359aea97 dbus-glib-0.108.tar.gz" |