aboutsummaryrefslogtreecommitdiffstats
path: root/community/mozo/APKBUILD
blob: e6e5cdca900642190c76fcdb945fa73a02d55f33 (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
36
# Contributor: Alan Lacerda <alacerda@alpinelinux.org>
# Maintainer: Alan Lacerda <alacerda@alpinelinux.org>
pkgname=mozo
pkgver=1.21.0
pkgrel=1
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 python3"
depends="py-gobject3"
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="df24720b7ffda0a27415f25b5d083ae609fea8e612c0614dd191d790a4fe500f15bbf7116cfa62b543fb91dc63e7036b6137e6c00dba7c73dad418df04615ac1  mozo-1.21.0.tar.xz"