ava1ar

slurm 0.4.3 PKGBUILD

Nov 21st, 2015
156
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. pkgname=slurm
  2. pkgver=0.4.3
  3. pkgrel=1
  4. pkgdesc="Monitoring traffic statistics in realtime"
  5. url="https://github.com/mattthias/slurm"
  6. license=("GPL")
  7. arch=('i686' 'x86_64')
  8. depends=('ncurses')
  9. makedepends=('cmake')
  10. source=(https://github.com/mattthias/$pkgname/archive/upstream/${pkgver}.tar.gz)
  11. sha1sums=('0250580bbd49b3eeed566e911aa86fb640ea2fee')
  12.  
  13. build() {
  14.     cd "${srcdir}/${pkgname}-upstream-${pkgver}"
  15.     mkdir -p build
  16.     cd build/
  17.     cmake -DCMAKE_INSTALL_PREFIX=/usr ..
  18.     make
  19. }
  20.  
  21. package() {
  22.     cd "${srcdir}/${pkgname}-upstream-${pkgver}/build"
  23.     make DESTDIR="${pkgdir}" install
  24. }
RAW Paste Data