aboutsummaryrefslogtreecommitdiffstats
path: root/community/mate-system-monitor/APKBUILD
diff options
context:
space:
mode:
authorBartłomiej Piotrowski <b@bpiotrowski.pl>2015-11-09 11:58:10 +0100
committerBartłomiej Piotrowski <b@bpiotrowski.pl>2015-11-09 11:58:47 +0100
commitedc6264a30ae49994c3064067e6cbaf493605032 (patch)
tree5c529da5c7b3fee39a7c47a1cb96b6cc863d57a4 /community/mate-system-monitor/APKBUILD
parentfb15405a2a7566fec009c052b4781e3086d3df75 (diff)
downloadaports-edc6264a30ae49994c3064067e6cbaf493605032.tar.bz2
aports-edc6264a30ae49994c3064067e6cbaf493605032.tar.xz
main/mate-system-monitor: move to community
Diffstat (limited to 'community/mate-system-monitor/APKBUILD')
-rw-r--r--community/mate-system-monitor/APKBUILD47
1 files changed, 47 insertions, 0 deletions
diff --git a/community/mate-system-monitor/APKBUILD b/community/mate-system-monitor/APKBUILD
new file mode 100644
index 0000000000..e65bbb38f6
--- /dev/null
+++ b/community/mate-system-monitor/APKBUILD
@@ -0,0 +1,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"