summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 8ca201c823d22cbb3232ec6e0734353b81b7a6f2 (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: Mario Cianciolo <mr.udda at gmail dot com>
# Co-maintainer: Michael Kogan <michael.kogan at gmx dot net>

# This file is automatically generated from multiload-ng source.

pkgname='mate-multiload-ng-applet-gtk2-git'
pkgdesc='Modern graphical system monitor, MATE panel applet'
pkgver=r899.0c18e54
pkgrel=2

makedepends=('intltool' 'git')
depends=('gtk2>=2.20.0' 'cairo' 'mate-panel>=1.7.0')

conflicts=('mate-multiload-ng-applet-gtk2' 'mate-multiload-ng-applet-gtk3' 'mate-multiload-ng-applet-gtk3-git')

source=("git+https://github.com/udda/multiload-ng.git")
md5sums=('SKIP')

arch=('i686' 'x86_64')
url='https://udda.github.io/multiload-ng/'
license=('GPL2')

build() {
    cd "multiload-ng"
    ./autogen.sh
    ./configure --prefix=/usr --with-gtk=2.0 --without-awn --without-indicator --without-lxpanel --with-mate --without-standalone --without-systray --without-xfce4
    make
} 

package() {
    cd "multiload-ng"
    make DESTDIR="$pkgdir" install
}

pkgver() {
    cd "multiload-ng"
    printf -- "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}