Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Aug 2nd, 2012  |  syntax: None  |  size: 1.39 KB  |  views: 48  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. # Maintainer: Panagiotis Anastasiadis
  2. # Contributor: graysky <graysky AT archlinux DOT us>
  3. # Contributor: WAntilles <wantilles@adslgr.com>
  4. # Contributor: Lucas Tsatiris
  5.  
  6. pkgname=systester
  7. true && pkgname=(systester systester-cli)
  8. _pkgname=systester
  9. pkgver=1.5.1
  10. pkgrel=1
  11. pkgdesc="System Stability Tester is a RAM/CPU burning and benchmarking program based on calculating pi."
  12. license="GPL"
  13. arch=('i686' 'x86_64')
  14. url="http://systester.sourceforge.net/"
  15. makedepends=('qt>=4.5.3' 'gmp>=4.2.1')
  16. source=(http://sourceforge.net/projects/${pkgname}/files/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz)
  17. sha256sums=('8e88b368d35f45303c586f4028ee010a0e5e67d89d8494cad0fd53359b741df5')
  18.  
  19. build() {
  20. cd "$srcdir"/$pkgname-$pkgver/cli
  21. make
  22.  
  23. cd "$srcdir"/"$pkgname"-"$pkgver"
  24. ./configure --prefix=/usr
  25. make
  26. }
  27.  
  28. package_systester() {
  29. pkgdesc="System Stability Tester is a RAM/CPU burning and benchmarking program based on calculating pi."
  30. depends=('qt>=4.5.3' 'gmp>=4.2.1')
  31.  
  32. install -Dm755 "$srcdir"/$pkgname-$pkgver/systester "$pkgdir"/usr/bin/systester
  33. }
  34.  
  35. package_systester-cli() {
  36. pkgdesc="System Stability Tester is a RAM/CPU burning and benchmarking program based on calculating pi."
  37. depends=('gmp>=4.2.1')
  38.  
  39. install -Dm755 "$srcdir"/$_pkgname-$pkgver/cli/systester-cli "$pkgdir"/usr/bin/systester-cli
  40. install -Dm755 "$srcdir"/$_pkgname-$pkgver/cli/systester-lite "$pkgdir"/usr/bin/systester-lite
  41. }