Want more features on Pastebin? Sign Up, it's FREE!
Guest

extcal PKGBUILD

By: a guest on Jun 2nd, 2012  |  syntax: None  |  size: 0.83 KB  |  views: 211  |  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. # Contributor: Jonathan Wiersma <archaur at jonw dot org>
  2. pkgname=extcalc
  3. pkgver=0.9.3_1
  4. pkgrel=2
  5. pkgdesc="A multifunctional scientific graphic calculator"
  6. arch=('i686' 'x86_64')
  7. url="http://extcalc-linux.sourceforge.net"
  8. license=('GPL')
  9. depends=('mesa' 'qt>=4.3')
  10. makedepends=('gcc>=3' 'cmake')
  11. source=("CMakeLists.txt.patch" "http://downloads.sourceforge.net/$pkgname-linux/$pkgname-${pkgver//_/-}.tar.gz")
  12.  
  13. build() {
  14.         cd $srcdir/$pkgname-${pkgver/_/-} || return 1
  15.         #cmake -CMAKE_INSTALL_PREFIX="/usr". || return 1
  16.         patch CMakeLists.txt < $srcdir/CMakeLists.txt.patch || return 1
  17.         export LDFLAGS="-lGL"
  18.         cmake . || return 1
  19.         make || return 1
  20.         make DESTDIR=$pkgdir install || return 1
  21. }
  22.  
  23. md5sums=('d35ee7a4b5bafc59a6a1cb3df4439107'
  24.          'efe53d36c8f1f1811ab46ed1a6e0e240')
clone this paste RAW Paste Data