[arch-commits] Commit in dispcalgui/repos (6 files)

Ángel Velásquez angvp at nymeria.archlinux.org
Mon Aug 19 08:26:45 UTC 2013


    Date: Monday, August 19, 2013 @ 10:26:45
  Author: angvp
Revision: 95981

archrelease: copy trunk to community-testing-i686, community-testing-x86_64

Added:
  dispcalgui/repos/community-testing-i686/
  dispcalgui/repos/community-testing-i686/PKGBUILD
    (from rev 95980, dispcalgui/trunk/PKGBUILD)
  dispcalgui/repos/community-testing-i686/dispcalgui.install
    (from rev 95980, dispcalgui/trunk/dispcalgui.install)
  dispcalgui/repos/community-testing-x86_64/
  dispcalgui/repos/community-testing-x86_64/PKGBUILD
    (from rev 95980, dispcalgui/trunk/PKGBUILD)
  dispcalgui/repos/community-testing-x86_64/dispcalgui.install
    (from rev 95980, dispcalgui/trunk/dispcalgui.install)

---------------------------------------------+
 community-testing-i686/PKGBUILD             |   32 ++++++++++++++++++++++++++
 community-testing-i686/dispcalgui.install   |   19 +++++++++++++++
 community-testing-x86_64/PKGBUILD           |   32 ++++++++++++++++++++++++++
 community-testing-x86_64/dispcalgui.install |   19 +++++++++++++++
 4 files changed, 102 insertions(+)

Copied: dispcalgui/repos/community-testing-i686/PKGBUILD (from rev 95980, dispcalgui/trunk/PKGBUILD)
===================================================================
--- community-testing-i686/PKGBUILD	                        (rev 0)
+++ community-testing-i686/PKGBUILD	2013-08-19 08:26:45 UTC (rev 95981)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Timothy Redaelli <timothy.redaelli at gmail.com>
+# Contributor: Cedric Girard <girard.cedric at gmail.com>
+# Contributor: foxbunny <bg.branko at 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:

Copied: dispcalgui/repos/community-testing-i686/dispcalgui.install (from rev 95980, dispcalgui/trunk/dispcalgui.install)
===================================================================
--- community-testing-i686/dispcalgui.install	                        (rev 0)
+++ community-testing-i686/dispcalgui.install	2013-08-19 08:26:45 UTC (rev 95981)
@@ -0,0 +1,19 @@
+# arg 1:  the new package version
+post_install() {
+  update-desktop-database -q
+  gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}
+
+post_upgrade(){
+  update-desktop-database -q
+  gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}
+
+post_remove() {
+  update-desktop-database -q
+  gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}
+
+gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+
+# vim:set ts=2 sw=2 et:

Copied: dispcalgui/repos/community-testing-x86_64/PKGBUILD (from rev 95980, dispcalgui/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2013-08-19 08:26:45 UTC (rev 95981)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Timothy Redaelli <timothy.redaelli at gmail.com>
+# Contributor: Cedric Girard <girard.cedric at gmail.com>
+# Contributor: foxbunny <bg.branko at 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:

Copied: dispcalgui/repos/community-testing-x86_64/dispcalgui.install (from rev 95980, dispcalgui/trunk/dispcalgui.install)
===================================================================
--- community-testing-x86_64/dispcalgui.install	                        (rev 0)
+++ community-testing-x86_64/dispcalgui.install	2013-08-19 08:26:45 UTC (rev 95981)
@@ -0,0 +1,19 @@
+# arg 1:  the new package version
+post_install() {
+  update-desktop-database -q
+  gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}
+
+post_upgrade(){
+  update-desktop-database -q
+  gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}
+
+post_remove() {
+  update-desktop-database -q
+  gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}
+
+gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+
+# vim:set ts=2 sw=2 et:




More information about the arch-commits mailing list