aboutsummaryrefslogtreecommitdiffstats
path: root/main/mate-system-monitor/APKBUILD
blob: 845e0ac3271452040e86d33d82cab95d8a77d10b (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.10.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+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/${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="5b6bd2adf18875557d9c79335bc58d0a  mate-system-monitor-1.10.0.tar.xz"
sha256sums="00c536d8aa7cd907b55f8adfa97d57bf39dae89ef19569275b98165c76d84a56  mate-system-monitor-1.10.0.tar.xz"
sha512sums="0e67dafff4e8149051a6ec138e3c7584ab0ba7c273ea313afeb77cbcf83f4cb8b653b4e3cef6c41d3610837b82203b037f97490a155ed3f22e56c5383dcfaa10  mate-system-monitor-1.10.0.tar.xz"