blob: 946fc29cde91b2da59b115e9961982ce4fcc8075 (
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
|
# Contributor: Alan Lacerda <alacerda@alpinelinux.org>
# Maintainer: Alan Lacerda <alacerda@alpinelinux.org>
pkgname=mate-system-monitor
pkgver=1.18.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
}
sha512sums="95e85b87f52db32f3c192c29b866020b78638462dd362376180087f24c041b690d3bb66d8ad1174abc89051450efe1f19171746204c68455ddcc6e965339db82 mate-system-monitor-1.18.0.tar.xz"
|