1. # Maintainer: foxbunny <bg.branko@gmail.com>
  2.  
  3. pkgname=dispcalgui
  4. pkgver=0.7.0.0
  5. pkgrel=1
  6. pkgdesc="A GUI frontend for several utilities from the open source color management system Argyll CMS "
  7. arch=('i686' 'x86_64')
  8. url="http://hoech.net/dispcalGUI/"
  9. license=('GPL3')
  10. depends=('argyllcms>=1.3.0' 'python2>=2.5' 'wxpython>=2.8')
  11. optdepends=('python2-numpy: to enable curve viewer' 'gksu: For running as root')
  12. makedepends=('python>=2.5' 'libx11' 'libxrandr' 'libxinerama' 'libxxf86vm' 'setuptools>=0.6c11' 'xdg-utils')
  13. groups=('painters-studio-tools' 'painters-studio-extras' 'painters-studio-complete')
  14. source=(http://dispcalgui.hoech.net/dispcalGUI-${pkgver}.tar.gz dispcalgui.desktop wxLUTViewer.patch)
  15. build() {
  16.   # build
  17.   cd "${srcdir}"/dispcalGUI-${pkgver}
  18.   patch -p2 -i "${srcdir}"/wxLUTViewer.patch || return 1
  19.  
  20.   python2 setup.py install --root="${pkgdir}" --optimize=1 || return 1
  21.  
  22.   # desktop
  23.   install -Dm644 \
  24.     "${startdir}"/dispcalgui.desktop \
  25.     "${pkgdir}"/usr/share/applications/${pkgname}.desktop || return 1
  26. }
  27.  
  28. #md5sums:
  29. md5sums=('16dafdd976c6dc6cd9645d96088e438c'
  30.          'a65019defc10243c7e0fd2925405d26e'
  31.          '9a16908f1bda7f001cf69616618ae9dc')