aboutsummaryrefslogtreecommitdiffstats
path: root/testing/gnome-system-monitor/APKBUILD
blob: 9a4fc55c4f7d7a8b879c68788179f7ed5ccf4587 (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
# Maintainer: 
pkgname=gnome-system-monitor
pkgver=3.26.0
pkgrel=1
pkgdesc="GNOME system monitor"
url="https://www.gnome.org/"
arch="all !s390x"
license="GPL"
makedepends="gnome-desktop-dev libgtop-dev gtkmm3-dev 
	libxml2-dev librsvg-dev itstool libxml2-utils libxslt
	libgtop-dev"
subpackages="$pkgname-doc $pkgname-lang"
source="https://download.gnome.org/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz"
builddir="$srcdir/$pkgname-$pkgver"

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

check() {
	cd "$builddir"
	make check
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}

sha512sums="c2593371d956a4c11ad9ac4afabc996c02d743f9ba443192b0d955ab42464a02ad3fe19398b9489d33d552fdfdc2fb615e85d4dcb9342b821cb0b590fd3c3043  gnome-system-monitor-3.26.0.tar.xz"