From 7585aa11cc2bad880dc7b56c49c67a7bd04600bc Mon Sep 17 00:00:00 2001 From: Francesco Colista Date: Mon, 17 Jul 2017 12:20:50 +0000 Subject: main/gnome-common: updated url, added check() --- main/gnome-common/APKBUILD | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/main/gnome-common/APKBUILD b/main/gnome-common/APKBUILD index 0b884e8664..198b2bf8c4 100644 --- a/main/gnome-common/APKBUILD +++ b/main/gnome-common/APKBUILD @@ -2,19 +2,19 @@ # Maintainer: Francesco Colista pkgname=gnome-common pkgver=3.18.0 -pkgrel=0 +pkgrel=1 pkgdesc="Common development macros for GNOME" -url="http://www.gnome.org" +url="https://www.gnome.org" arch="noarch" license="GPL" -depends="" -depends_dev="" -makedepends="$depends_dev" -install="" -subpackages="" source="https://download.gnome.org/sources/gnome-common/${pkgver%.*}/gnome-common-$pkgver.tar.xz" builddir="$srcdir"/gnome-common-$pkgver +check() { + cd "$builddir" + make check +} + build() { cd "$builddir" ./configure \ @@ -24,14 +24,13 @@ build() { --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ - --localstatedir=/var \ - || return 1 - make || return 1 + --localstatedir=/var + make } package() { cd "$builddir" - make DESTDIR="$pkgdir" install || return 1 + make DESTDIR="$pkgdir" install } md5sums="933258d9c23e218eb6eec9cc1951b053 gnome-common-3.18.0.tar.xz" -- cgit v1.2.3