34 lines
1.3 KiB
Bash
34 lines
1.3 KiB
Bash
# Maintainer: Cedric Girard <girard.cedric@gmail.com>
|
|
# Contributor: foxbunny <bg.branko@gmail.com>
|
|
|
|
pkgname=dispcalgui
|
|
pkgver=0.8.1.9
|
|
pkgrel=1
|
|
pkgdesc="A GUI frontend for several utilities from the open source color management system Argyll CMS "
|
|
arch=('i686' 'x86_64')
|
|
url="http://hoech.net/dispcalGUI/"
|
|
license=('GPL3')
|
|
depends=('argyllcms>=1.3.0' 'python2>=2.5' 'wxpython>=2.8' 'hicolor-icon-theme' 'desktop-file-utils')
|
|
optdepends=('python2-numpy: to enable curve viewer'
|
|
'gksu: For running as root')
|
|
makedepends=('python>=2.5' 'libx11' 'libxrandr' 'libxinerama' 'libxxf86vm' 'setuptools>=0.6c11' 'xdg-utils')
|
|
groups=('painters-studio-tools' 'painters-studio-extras' 'painters-studio-complete')
|
|
install=${pkgname}.install
|
|
source=("dispcalGUI-${pkgver}.tar.gz::http://dispcalgui.hoech.net/download.php?version=${pkgver}&suffix=.tar.gz" ${pkgname}.desktop)
|
|
|
|
md5sums=('1f93e612fc4de43ede542e1982bce206'
|
|
'a65019defc10243c7e0fd2925405d26e')
|
|
|
|
package() {
|
|
cd "${srcdir}"/dispcalGUI-${pkgver}
|
|
|
|
find . -name "*.py" -print0 | xargs -0 sed -i 's!/usr/bin/env python!/usr/bin/env python2!g'
|
|
|
|
python2 setup.py install --root="${pkgdir}" --optimize=1
|
|
|
|
install -Dm644 \
|
|
"${srcdir}"/dispcalgui.desktop \
|
|
"${pkgdir}"/usr/share/applications/${pkgname}.desktop
|
|
}
|
|
|
|
# vim:set ts=2 sw=2 et:
|