1 # Maintainer: Cedric Girard <girard.cedric@gmail.com>
2 # Contributor: foxbunny <bg.branko@gmail.com>
7 pkgdesc="A GUI frontend for several utilities from the open source color management system Argyll CMS "
9 url="http://hoech.net/dispcalGUI/"
11 depends=('argyllcms>=1.3.0' 'python2>=2.5' 'wxpython>=2.8' 'hicolor-icon-theme' 'desktop-file-utils')
12 optdepends=('python2-numpy: to enable curve viewer'
13 'gksu: For running as root')
14 makedepends=('python>=2.5' 'libx11' 'libxrandr' 'libxinerama' 'libxxf86vm' 'setuptools>=0.6c11' 'xdg-utils')
15 groups=('painters-studio-tools' 'painters-studio-extras' 'painters-studio-complete')
16 install=${pkgname}.install
18 #you may need to download this by hand (with wget) if curl is your download tool in makepkg
19 source=("http://dispcalgui.hoech.net/download/dispcalGUI.tar.gz" ${pkgname}.desktop)
21 md5sums=('3a6808f724fb7f8233d3356541c00030'
22 'a65019defc10243c7e0fd2925405d26e')
25 cd "${srcdir}"/dispcalGUI-${pkgver}
27 find . -name "*.py" -print0 | xargs -0 sed -i 's!/usr/bin/env python!/usr/bin/env python2!g'
29 python2 setup.py install --root="${pkgdir}" --optimize=1
32 "${srcdir}"/dispcalgui.desktop \
33 "${pkgdir}"/usr/share/applications/${pkgname}.desktop
35 #udev rules are shipped with argyllcms
36 rm -rf "${pkgdir}"/etc/udev/
39 # vim:set ts=2 sw=2 et: