ArchLinux/pkgbuild/dispcalgui/PKGBUILD

33 lines
1.1 KiB
Text
Raw Normal View History

2011-06-13 22:20:23 +02:00
# Maintainer: Cedric Girard <girard.cedric@gmail.com>
2012-02-13 11:07:15 +01:00
# Contributor: foxbunny <bg.branko@gmail.com>
2011-06-13 22:20:23 +02:00
pkgname=dispcalgui
pkgver=1.1.8.3
2012-04-02 23:00:16 +02:00
pkgrel=1
2012-02-13 11:07:15 +01:00
pkgdesc="A GUI frontend for several utilities from the open source color management system Argyll CMS"
2011-06-13 22:20:23 +02:00
arch=('i686' 'x86_64')
url="http://hoech.net/dispcalGUI/"
license=('GPL3')
2012-04-02 23:00:16 +02:00
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')
2011-06-13 22:20:23 +02:00
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")
2012-01-25 00:19:39 +01:00
md5sums=('5b93133b25c0abfe0cee420ca464ce66')
2011-06-13 22:20:23 +02:00
package() {
cd "${srcdir}"/dispcalGUI-${pkgver}
2011-09-01 14:35:01 +02:00
find . -name "*.py" -print0 | xargs -0 sed -i 's!/usr/bin/env python!/usr/bin/env python2!g'
2011-06-13 22:20:23 +02:00
python2 setup.py install --root="${pkgdir}" --optimize=1
2012-01-25 00:19:39 +01:00
#udev rules are shipped with argyllcms
rm -rf "${pkgdir}"/etc/udev/
2011-06-13 22:20:23 +02:00
}
# vim:set ts=2 sw=2 et: