aboutsummaryrefslogtreecommitdiffstats
path: root/community/mate-system-monitor/APKBUILD
blob: 03d41eca895e7e71bdfc71e87b1437b511c43dd6 (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
39
40
41
42
43
44
45
46
47
# Contributor: Alan Lacerda <alacerda@alpinelinux.org>
# Maintainer: Alan Lacerda <alacerda@alpinelinux.org>
pkgname=mate-system-monitor
pkgver=1.16.0
pkgrel=0
pkgdesc="A system monitor for MATE"
url="https://github.com/mate-desktop/mate-system-monitor"
arch="all"
license="GPLv2"
depends="mate-icon-theme"
depends_dev=""
makedepends="$depends_dev gtk+3.0-dev libwnck3-dev gtkmm3-dev libgtop-dev 
	librsvg-dev glibmm-dev itstool linux-headers libxml2-utils"
install=""
subpackages="$pkgname-doc $pkgname-lang"
source="http://pub.mate-desktop.org/releases/${pkgver%.*}/$pkgname-$pkgver.tar.xz"

_builddir="$srcdir/$pkgname-$pkgver"
prepare() {
	local i
	cd "$_builddir"
	for i in $source; do
		case $i in
		*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
		esac
	done
}

build() {
	cd "$_builddir"
	./configure \
                --build=$CBUILD \
                --host=$CHOST \
                --sysconfdir=/etc \
                --prefix=/usr \
                --enable-all-themes || return 1
        make || return 1
}

package() {
	cd "$_builddir"
	 make DESTDIR="${pkgdir}" install || return 1
}

md5sums="bf293a874d01be2c67dc54c9e477c406  mate-system-monitor-1.16.0.tar.xz"
sha256sums="abbbfeba699f73a6eacb7545927693daba4fb6203a75170a93df4842cacd9fe1  mate-system-monitor-1.16.0.tar.xz"
sha512sums="6ee8e1d1a3af5e3b295c2cca74b3e6bdf8a09eb6aa7d63f13db006829c2df25b580b72cc8d6e34e2844b243999cd4f059a42aa67a88c60825defdb7880150796  mate-system-monitor-1.16.0.tar.xz"