diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2017-09-22 15:21:50 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2017-09-25 07:11:22 +0000 |
commit | ebb5549f8d48fdc62e2446ef5a6d979b26d69ffc (patch) | |
tree | 8987b1c12ed7e3318f532b21eaeec101983b7a5d /community | |
parent | 487056486ef7c3298de8e0b62fb31657820dbfdc (diff) | |
download | aports-ebb5549f8d48fdc62e2446ef5a6d979b26d69ffc.tar.bz2 aports-ebb5549f8d48fdc62e2446ef5a6d979b26d69ffc.tar.xz |
community/mozo: added check(), modernized APKBUILD
Diffstat (limited to 'community')
-rw-r--r-- | community/mozo/APKBUILD | 18 |
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() { |