aboutsummaryrefslogtreecommitdiffstats
path: root/community/mate-system-monitor/APKBUILD
blob: 99d8c93adaf81ea63d4e1b0854c7adacdcc5129a (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
38
# Contributor: Alan Lacerda <alacerda@alpinelinux.org>
# Maintainer: Alan Lacerda <alacerda@alpinelinux.org>
pkgname=mate-system-monitor
pkgver=1.21.0
pkgrel=0
pkgdesc="A system monitor for MATE"
url="https://github.com/mate-desktop/mate-system-monitor"
arch="all"
license="GPL-2.0"
depends="mate-icon-theme"
makedepends="gtk+3.0-dev libwnck3-dev gtkmm3-dev libgtop-dev
	librsvg-dev glibmm-dev itstool linux-headers libxml2-utils"
subpackages="$pkgname-doc $pkgname-lang"
source="https://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="814052de137af3e2af9c2e57b3be420b8867cd6d4890de60db14be1ee455fb867f14e8b6063a5f959dc6a4bd77209300f8ea228405ce554f134a2bd76bfa347f  mate-system-monitor-1.21.0.tar.xz"