summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 1c7d6b693e6df1bee871c2bc681d8eaa5dffce08 (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
# Maintainer: Alexis Janon <kardyne -at- gmail -dot- com>
# Contributor: Kyle Keen <keenerd@gmail.com>
# Contributor: Zhukov Pavel <gelios@gmail.com>
# Contributor: Christof Musik <christof@senfdax.de>
# Contributor: Falconindy
pkgname=slurm
pkgver=0.4.3
pkgrel=1
pkgdesc="Monitoring traffic statistics in realtime"
url="https://github.com/mattthias/slurm/wiki"
license=("GPL")
arch=('i686' 'x86_64')
depends=('ncurses')
makedepends=('cmake')
source=("https://github.com/mattthias/$pkgname/archive/upstream/$pkgver.tar.gz")
md5sums=('ff39b8e1fd31274ba1bb36d4aadc1d48')

build() {
  cd "$srcdir/$pkgname-upstream-$pkgver"
  mkdir -p build
  cd build
  cmake -DCMAKE_INSTALL_PREFIX=/usr ..
  make
}

package() {
  cd "$srcdir/$pkgname-upstream-$pkgver/build"
  make DESTDIR="$pkgdir" install
  install -Dm644 ../slurm.1 "$pkgdir/usr/share/man/man1/slurm.1"
}