aboutsummaryrefslogtreecommitdiffstats
path: root/main/gnome-common
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2017-07-17 12:20:50 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2017-07-18 11:56:13 +0000
commit7585aa11cc2bad880dc7b56c49c67a7bd04600bc (patch)
treeb69f591e8f0506281c07e47febffae7ac065ff31 /main/gnome-common
parent85f735190445aeab6b1a8b8478419ccbbb2ead6e (diff)
downloadaports-7585aa11cc2bad880dc7b56c49c67a7bd04600bc.tar.bz2
aports-7585aa11cc2bad880dc7b56c49c67a7bd04600bc.tar.xz
main/gnome-common: updated url, added check()
Diffstat (limited to 'main/gnome-common')
-rw-r--r--main/gnome-common/APKBUILD21
1 files 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 <fcolista@alpinelinux.org>
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"