ava1ar

slurm 0.4.2 PKGBUILD

Dec 29th, 2014
231
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. pkgname=slurm
  2. pkgver=0.4.2
  3. pkgrel=1
  4. pkgdesc="Monitoring traffic statistics in realtime"
  5. url="https://github.com/mattthias/slurm/wiki"
  6. license=("GPL")
  7. arch=('i686' 'x86_64')
  8. depends=('ncurses')
  9. makedepends=('scons')
  10. source=(https://github.com/mattthias/${pkgname}/archive/upstream/${pkgver}.tar.gz)
  11. md5sums=('b949aca331c25bf5c225faafc1948069')
  12.  
  13. build() {
  14.   cd "$srcdir/$pkgname-upstream-$pkgver"
  15.   scons
  16. }
  17.  
  18. package() {
  19.   cd "$srcdir/$pkgname-upstream-$pkgver"
  20.   # install binary
  21.   install -D ./slurm "$pkgdir/usr/bin/slurm"
  22.   # install themes
  23.   install -dm755 "$pkgdir/usr/share/slurm"
  24.   install -Dm644 -t "$pkgdir/usr/share/slurm" themes/*.theme
  25. }
RAW Paste Data