updated on Wed Jan 18 08:00:29 UTC 2012
[aur-mirror.git] / dispcalgui / PKGBUILD
blob5ea799fd522521a7f0feff6a5966f9bc93d8e90d
1 # Maintainer: Cedric Girard <girard.cedric@gmail.com>
2 # Contributor: foxbunny <bg.branko@gmail.com> 
4 pkgname=dispcalgui
5 pkgver=0.8.1.9
6 pkgrel=1
7 pkgdesc="A GUI frontend for several utilities from the open source color management system Argyll CMS "
8 arch=('i686' 'x86_64')
9 url="http://hoech.net/dispcalGUI/"
10 license=('GPL3')
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
17 source=("dispcalGUI-${pkgver}.tar.gz::http://dispcalgui.hoech.net/download.php?version=${pkgver}&suffix=.tar.gz" ${pkgname}.desktop)
19 md5sums=('1f93e612fc4de43ede542e1982bce206'
20          'a65019defc10243c7e0fd2925405d26e')
22 package() {
23   cd "${srcdir}"/dispcalGUI-${pkgver}
25   find . -name "*.py" -print0 | xargs -0 sed -i 's!/usr/bin/env python!/usr/bin/env python2!g'
27   python2 setup.py install --root="${pkgdir}" --optimize=1
29   install -Dm644 \
30     "${srcdir}"/dispcalgui.desktop \
31     "${pkgdir}"/usr/share/applications/${pkgname}.desktop
34 # vim:set ts=2 sw=2 et: