diff options
author | root <root@rshg054.dnsready.net> | 2013-08-21 02:15:21 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-08-21 02:15:21 -0700 |
commit | 62b00d5bf76ef2c670dbeefe2051629d96ab7660 (patch) | |
tree | f04db1df7254ec8354311c9024cfd53a90fc6a79 /community/dispcalgui | |
parent | 1ae31a85e191bbf7313077b472a66d1c24af1f74 (diff) |
Wed Aug 21 02:13:52 PDT 2013
Diffstat (limited to 'community/dispcalgui')
-rw-r--r-- | community/dispcalgui/PKGBUILD | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/community/dispcalgui/PKGBUILD b/community/dispcalgui/PKGBUILD index 974ee5eb0..b8b5b2596 100644 --- a/community/dispcalgui/PKGBUILD +++ b/community/dispcalgui/PKGBUILD @@ -1,31 +1,30 @@ -# $Id: PKGBUILD 94958 2013-08-01 14:04:59Z tredaelli $ +# $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=1 +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' 'setuptools' 'xdg-utils') +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') -package() { +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/ } |