aboutsummaryrefslogtreecommitdiffstats
path: root/community/mate-system-monitor/APKBUILD
blob: e65bbb38f6452c37302973c8184b8fdeed780ebc (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.10.1
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 libxml2-utils"
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="bf2335591e9810b1c8cad162cde8d3ee  mate-system-monitor-1.10.1.tar.xz"
sha256sums="d5428990f9ba2a864a9c4af74c626c3e8f46f0b0468925209ad51f2d09304774  mate-system-monitor-1.10.1.tar.xz"
sha512sums="a80922315d387eda99223ecc6f44a7608a3ef2d300ef80f10e35aede83783407f996935f7e106d342dcd91b8681158b587a5c1d1192724040e6bd99409cae6ec  mate-system-monitor-1.10.1.tar.xz"