summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 0e561f280447d297a6b9c190431880653beb7e5c (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
# 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='lxpanel-multiload-ng-plugin-gtk2'
pkgdesc='Modern graphical system monitor, LxPanel plugin'
pkgver=1.5.2
pkgrel=3

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

conflicts=('lxpanel-multiload-ng-plugin-gtk3' 'lxpanel-multiload-ng-plugin-gtk2-git' 'lxpanel-multiload-ng-plugin-gtk3-git')

replaces=('lxpanel-multiload-ng-applet-gtk2')

source=("https://github.com/udda/multiload-ng/archive/v$pkgver.tar.gz")
md5sums=('bdb9344d696324bd4db04a8bce6d7ec0')

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

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

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