summaryrefslogtreecommitdiff
path: root/community/mate-utils/APKBUILD
blob: 223e2e25af07a4d88495155cc8cac08254d4ce91 (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.19.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="b9537dbb0232c190b9b30f428de647a04a0701ebde0fa391d544eb046ef24f336609145e67c2b2baf4fc8932655edc8a383bbe3261553c23ccc64993ed4c0b77  mate-utils-1.19.0.tar.xz"