summaryrefslogtreecommitdiff
path: root/community/dispcalgui/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/dispcalgui/PKGBUILD')
-rw-r--r--community/dispcalgui/PKGBUILD15
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/
}