Advertisement
Guest User

PKGBUILD QTiPlot

a guest
Mar 23rd, 2016
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.70 KB | None | 0 0
  1. # Maintainer: saxonbeta <saxonbeta at gmail dot com>
  2. # Contributor: sofasurfer <sofasurfer at gmail dot com>
  3. # Contributor: vicp74 <v1c70rp at gmail dot com>
  4. # Contributor: Salamandar <felix@piedallu.me>
  5.  
  6. pkgname=qtiplot-git
  7. pkgver=0.9.8.9
  8. pkgrel=1
  9. pkgdesc="Data analysis and scientific plotting - free clone of Origin, with Origin import enabled"
  10. # more info in: http://www.staff.science.uu.nl/~zeven101/qtiplot.html
  11. arch=('i686' 'x86_64')
  12. url="http://soft.proindependent.com/qtiplot.html"
  13. license=('GPL2')
  14. depends=( 'muparser' 'gsl' 'python2-pyqt' 'boost-libs' 'shared-mime-info'
  15. 'glu' 'liborigin2' 'qt-assistant-compat' 'tamu-anova' 'python2')
  16. makedepends=('pkgconfig' 'unzip' 'boost')
  17. provides=('qtiplot')
  18. conflicts=('qtiplot' 'qtiplot-opj')
  19. options=('!makeflags')
  20.  
  21. install=${pkgname}.install
  22.  
  23. source=("git+https://github.com/Salamandar/qtiplot.git"
  24. "qtiplot.desktop"
  25. "${pkgname}.install"
  26. "qtiplot.xml"
  27. )
  28.  
  29. sha256sums=('SKIP'
  30. '1864570aab6d5b8bf8fde50c605017af5375a5a47541aee2d0c74fce46f3aae8'
  31. 'dc3bbb78602fa4aafb59c7b33080ac7fe160d2b88c0e296f2b99b1a738d2e972'
  32. '9656b5de3c31dfc86940c72e7362db13127e252b13522c6eec8f438f71d0ae65'
  33. )
  34.  
  35. build() {
  36. cd "$srcdir/qtiplot"
  37.  
  38. lrelease-qt4 qtiplot/translations/*
  39. qmake-qt4 qtiplot.pro
  40. make
  41. }
  42.  
  43. package() {
  44. cd "$srcdir"
  45. INSTALL_ROOT=${pkgdir} make install
  46.  
  47. install -D -m644 "qtiplot/qtiplot_logo.png" "${pkgdir}/usr/share/pixmaps/qtiplot_logo.png"
  48. install -D -m644 "qtiplot.desktop" "${pkgdir}/usr/share/applications/qtiplot.desktop"
  49. install -D -m644 "qtiplot.xml" "${pkgdir}/usr/share/mime/packages/qtiplot.xml"
  50. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement