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

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

pkgname='multiload-ng-standalone-gtk2-git'
pkgdesc='Modern graphical system monitor, standalone version'
pkgver=r938.d023877
pkgrel=3

makedepends=('intltool' 'git')
depends=('gtk2>=2.20.0' 'cairo' 'multiload-ng-common-git')

conflicts=('multiload-ng-standalone-gtk2' 'multiload-ng-standalone-gtk3' 'multiload-ng-standalone-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 --without-mate --with-standalone --without-systray --without-xfce4
    make
} 

package() {
    cd "multiload-ng"
    make DESTDIR="$pkgdir" install
    rm -r "$pkgdir/usr/share/locale"
}

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