aboutsummaryrefslogtreecommitdiffstats
path: root/community/mate-utils/APKBUILD
blob: c1edc4939dccd24f7b9c8be09b0d9b8ff07cd4fa (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
37
# Contributor: Alan Lacerda <alacerda@alpinelinux.org>
# Maintainer: Alan Lacerda <alacerda@alpinelinux.org>
pkgname=mate-utils
pkgver=1.21.0
pkgrel=0
pkgdesc="Utilities for the MATE Desktop"
url="https://github.com/mate-desktop/mate-utils"
arch="all"
license="GPL-2.0"
makedepends="intltool glib-dev gtk+3.0-dev mate-panel-dev
	libgtop-dev libcanberra-dev itstool libsm-dev libxml2-utils"
subpackages="$pkgname-dev $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 \
		--enable-static=no \
		--prefix=/usr
	make
}

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

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

sha512sums="53cddb451802c8ae510f97f7214488d15620ec96e207d5a34d73a7710f44f7c738bb1cc48e24cf72743b530fd72c700fdbd8ecf14f4bce71d688d35691e02c4b  mate-utils-1.21.0.tar.xz"