summaryrefslogtreecommitdiff
path: root/community/mozo/APKBUILD
blob: 298b2d9c55fcb5153406d2276a8376bffe8558cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Contributor: Alan Lacerda <alacerda@alpinelinux.org>
# Maintainer: Alan Lacerda <alacerda@alpinelinux.org>
pkgname=mozo
pkgver=1.19.0
pkgrel=0
pkgdesc="A menu editor for MATE"
url="https://github.com/mate-desktop/mozo"
arch="noarch"
license="GPL-2.0"
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
}

check() {
	cd "$builddir"
	make check
}

package() {
	cd "$builddir"
	make DESTDIR="${pkgdir}" install
}

sha512sums="5a08e4d63ec7063e11501c5931e65d82555f58c72038e730f839dd10627dac519ed6aab1a5ed8f8032bd3c3036eed3b0d123f7d14776fd9f8b7d9edc7f9fd9e8  mozo-1.19.0.tar.xz"