aboutsummaryrefslogtreecommitdiffstats
path: root/main/mate-system-monitor/APKBUILD
blob: b8beb3a1b9718373b86a852d00fdbeb06fae2713 (plain) (blame)
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
48
# Contributor: Alan Lacerda <alacerda@alpinelinux.org>
# Maintainer: Alan Lacerda <alacerda@alpinelinux.org>
pkgname=mate-system-monitor
pkgver=1.9.90
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+2.0-dev libwnck-dev gtkmm-dev libgtop-dev 
	librsvg-dev glibmm-dev itstool linux-headers"
install=""
subpackages="$pkgname-doc"
source="http://pub.mate-desktop.org/releases/1.9/$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="9b3a2449a0e36bb309fdd9676d99d7d1  mate-system-monitor-1.9.90.tar.xz"
sha256sums="ffa14a29ae6fda1399cf46c4e52850edb4696e79fab3b4c35944cd5ed7a8b053  mate-system-monitor-1.9.90.tar.xz"
sha512sums="7610cf945bfc9a5d41169b54dcdc4cb4e65b76cee06505102766342fdbf365dbb6ab4b07bc15a6ac2b91b08359b5785f2f6a8c9500e38b7c089c48c4bff8a661  mate-system-monitor-1.9.90.tar.xz"