This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Mar 11th, 2013  |  syntax: Bash  |  size: 0.75 KB  |  views: 31  |  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. pkgname=hcg
  2. pkgver=6.0
  3. pkgrel=1
  4. pkgdesc="A calculator with lots of options, abundant functions and a small programming language"
  5. arch=('i686' 'x86_64')
  6. url="http://houbysoft.com/hc/"
  7. license=('GPL3')
  8. depends=('mapm' 'qt4' 'plplot')
  9. source=("http://houbysoft.com/download/$pkgname-$pkgver-src.tar.gz" "hcg.desktop")
  10. md5sums=('f88700c950bd587e6204a7211a5d6090' '7c70a281419ca652783aefc0b1668184')
  11.  
  12. build() {
  13.   cd  $srcdir/$pkgname-$pkgver-src/qtgui
  14.   qmake-qt4 || return 1
  15.   make || return 1
  16.   install -D HCG "$pkgdir/usr/bin/$pkgname"
  17.   install -D -m644 ../README "$pkgdir/usr/share/$pkgname/README"
  18.   install -D -m644 ../LICENSE "$pkgdir/usr/share/$pkgname/LICENSE"
  19.   install -D -m644 $srcdir/hcg.desktop "$pkgdir/usr/share/applications/hcg.desktop"
  20. }
clone this paste RAW Paste Data