aboutsummaryrefslogtreecommitdiffstats
path: root/community/mate-menus/APKBUILD
blob: 8de7c137112b9f1d0b1852fd4c7da37cc75f1d42 (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=mate-menus
pkgver=1.21.0
pkgrel=0
pkgdesc="The libmate-menu library, the layout configuration files for the MATE menu, as well as a simple menu editor"
url="https://github.com/mate-desktop/mate-menus"
arch="all"
license="GPL-2.0"
depends="mate-common"
makedepends="libtool intltool glib-dev gobject-introspection-dev"
subpackages="$pkgname-dev $pkgname-lang"
source="https://pub.mate-desktop.org/releases/${pkgver%.*}/$pkgname-$pkgver.tar.xz"
builddir="$srcdir/$pkgname-$pkgver"

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--sysconfdir=/etc \
		--host=$CHOST \
		--prefix=/usr
	make
}

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

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

sha512sums="1e1028c30e78167089b4a69b0e5f748fe451bdb12a526731513b7432dbd61ff78a16d6bf191f0b1af3fd077b4e1bafc469a7b1daf250a1b23abb931d0ad34c83  mate-menus-1.21.0.tar.xz"