aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoberto Oliveira <robertoguimaraes8@gmail.com>2017-08-30 18:40:02 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2017-08-31 07:00:36 +0000
commit887c6b30156f8ab8b650d48fdf877ee8ec583c5e (patch)
treee34c99771c11097ec8c2b5e89067613e2e08256c
parent6215d64334f747b860014e517d4fa80cab68dc0c (diff)
downloadaports-887c6b30156f8ab8b650d48fdf877ee8ec583c5e.tar.gz
aports-887c6b30156f8ab8b650d48fdf877ee8ec583c5e.tar.bz2
aports-887c6b30156f8ab8b650d48fdf877ee8ec583c5e.tar.xz
main/eggdbus: add check function
-rw-r--r--main/eggdbus/APKBUILD8
1 files changed, 7 insertions, 1 deletions
diff --git a/main/eggdbus/APKBUILD b/main/eggdbus/APKBUILD
index 423345bbb3..1adb9bcee0 100644
--- a/main/eggdbus/APKBUILD
+++ b/main/eggdbus/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=eggdbus
pkgver=0.6
-pkgrel=4
+pkgrel=5
pkgdesc="Experimental D-Bus bindings for GObject"
url="https://cgit.freedesktop.org/~david/eggdbus"
arch="all"
@@ -14,6 +14,7 @@ source="http://hal.freedesktop.org/releases/$pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$pkgname-$pkgver
prepare() {
+ default_prepare
cd "$builddir"
update_config_sub
}
@@ -31,6 +32,11 @@ build() {
make -j1
}
+check() {
+ cd "$builddir"
+ make check
+}
+
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install