ArchLinux/pkgbuild/dispcalgui/PKGBUILD

32 lines
1.1 KiB
Bash

# Maintainer: Cedric Girard <girard.cedric@gmail.com>
# Contributor: foxbunny <bg.branko@gmail.com>
pkgname=dispcalgui
pkgver=1.2.7.0
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')
makedepends=('libx11' 'libxrandr' 'libxinerama' 'libxxf86vm' 'setuptools' 'xdg-utils')
depends=('argyllcms>=1.3.0' 'python2>=2.5' 'wxpython>=2.8.6' 'hicolor-icon-theme' 'desktop-file-utils' 'python2-numpy')
optdepends=('gksu: For running as root')
groups=('painters-studio-tools' 'painters-studio-extras' 'painters-studio-complete')
install=${pkgname}.install
source=("http://downloads.sourceforge.net/project/dispcalgui/release/${pkgver}/dispcalGUI-${pkgver}.tar.gz")
md5sums=('a0ff80ee5e560fbe208c12189e00c470')
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
#udev rules are shipped with argyllcms
rm -rf "${pkgdir}"/etc/udev/
}
# vim:set ts=2 sw=2 et: