aboutsummaryrefslogblamecommitdiffstats
path: root/community/mate-system-monitor/APKBUILD
blob: 2ff2a97ac59badd42b5177fb3af742958f9eb209 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11


                                                      
             
        





                                                         
                                                                          
                                                                   
          
                                        
                                                                                  



















                                                                        







                                                     
                                                                                                                                                                                
# 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"