aboutsummaryrefslogtreecommitdiffstats
path: root/community/mozo
diff options
context:
space:
mode:
Diffstat (limited to 'community/mozo')
-rw-r--r--community/mozo/APKBUILD29
1 files changed, 8 insertions, 21 deletions
diff --git a/community/mozo/APKBUILD b/community/mozo/APKBUILD
index 23f2e44259..1437181651 100644
--- a/community/mozo/APKBUILD
+++ b/community/mozo/APKBUILD
@@ -2,43 +2,30 @@
# Maintainer: Alan Lacerda <alacerda@alpinelinux.org>
pkgname=mozo
pkgver=1.18.0
-pkgrel=0
+pkgrel=1
pkgdesc="A menu editor for MATE"
url="https://github.com/mate-desktop/mozo"
arch="noarch"
license="GPLv2"
-depends=""
-depends_dev=""
-makedepends="$depends_dev intltool mate-menus-dev glib-dev py-gobject3-dev"
-install=""
+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"
-prepare() {
- local i
- cd "$_builddir"
- for i in $source; do
- case $i in
- *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
- esac
- done
-}
+builddir="$srcdir/$pkgname-$pkgver"
build() {
- cd "$_builddir"
+ cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--sysconfdir=/etc \
- --prefix=/usr \
- || return 1
- make || return 1
+ --prefix=/usr
+ make
}
package() {
- cd "$_builddir"
- make DESTDIR="${pkgdir}" install || return 1
+ cd "$builddir"
+ make DESTDIR="${pkgdir}" install
}
sha512sums="e333c572e5bc1d0905daed17eacd3dda10df5f80ed5b5b01ca3478d345a8c724e0161ccf51914f4982f16df71f252a3b08b194bec18e6aee05eb7af021369a12 mozo-1.18.0.tar.xz"