blob: b8b5b2596cf432a4f408e9f5dfc695926bb7567f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# $Id: PKGBUILD 96076 2013-08-20 06:32:16Z lcarlier $
# Maintainer: Timothy Redaelli <timothy.redaelli@gmail.com>
# Contributor: Cedric Girard <girard.cedric@gmail.com>
# Contributor: foxbunny <bg.branko@gmail.com>
pkgname=dispcalgui
pkgver=1.2.7.0
pkgrel=2
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' 'python2-setuptools' 'xdg-utils')
depends=('argyllcms' 'wxpython' 'hicolor-icon-theme' 'desktop-file-utils' 'python2-numpy')
optdepends=('gksu: For running as root')
install=${pkgname}.install
source=("http://downloads.sourceforge.net/project/dispcalgui/release/${pkgver}/dispcalGUI-${pkgver}.tar.gz")
md5sums=('a0ff80ee5e560fbe208c12189e00c470')
prepare() {
cd "${srcdir}"/dispcalGUI-${pkgver}
find . -name "*.py" -exec sed -i 's!/usr/bin/env python!/usr/bin/env python2!g' {} +
}
package() {
cd "${srcdir}"/dispcalGUI-${pkgver}
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:
|