Advertisement
Guest User

Untitled

a guest
Mar 11th, 2013
46
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.75 KB | None | 0 0
  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. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement