aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2017-09-22 15:21:50 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2017-09-25 07:11:22 +0000
commitebb5549f8d48fdc62e2446ef5a6d979b26d69ffc (patch)
tree8987b1c12ed7e3318f532b21eaeec101983b7a5d
parent487056486ef7c3298de8e0b62fb31657820dbfdc (diff)
downloadaports-ebb5549f8d48fdc62e2446ef5a6d979b26d69ffc.tar.gz
aports-ebb5549f8d48fdc62e2446ef5a6d979b26d69ffc.tar.bz2
aports-ebb5549f8d48fdc62e2446ef5a6d979b26d69ffc.tar.xz
community/mozo: added check(), modernized APKBUILD
-rw-r--r--community/mozo/APKBUILD18
1 files changed, 11 insertions, 7 deletions
diff --git a/community/mozo/APKBUILD b/community/mozo/APKBUILD
index 1437181651..ad4fa048f7 100644
--- a/community/mozo/APKBUILD
+++ b/community/mozo/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Alan Lacerda <alacerda@alpinelinux.org>
pkgname=mozo
pkgver=1.18.0
-pkgrel=1
+pkgrel=2
pkgdesc="A menu editor for MATE"
url="https://github.com/mate-desktop/mozo"
arch="noarch"
@@ -10,17 +10,21 @@ license="GPLv2"
makedepends="intltool mate-menus-dev glib-dev py-gobject3-dev"
subpackages="$pkgname-doc $pkgname-lang"
source="http://pub.mate-desktop.org/releases/${pkgver%.*}/$pkgname-$pkgver.tar.xz"
-
builddir="$srcdir/$pkgname-$pkgver"
build() {
cd "$builddir"
./configure \
- --build=$CBUILD \
- --host=$CHOST \
- --sysconfdir=/etc \
- --prefix=/usr
- make
+ --build=$CBUILD \
+ --host=$CHOST \
+ --sysconfdir=/etc \
+ --prefix=/usr
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
}
package() {