[arch-commits] Commit in argyllcms/repos (10 files)

Timothy Redaelli tredaelli at archlinux.org
Tue Oct 25 15:13:39 UTC 2016


    Date: Tuesday, October 25, 2016 @ 15:13:38
  Author: tredaelli
Revision: 193310

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

Added:
  argyllcms/repos/community-i686/PKGBUILD
    (from rev 193309, argyllcms/trunk/PKGBUILD)
  argyllcms/repos/community-i686/argyllcms.install
    (from rev 193309, argyllcms/trunk/argyllcms.install)
  argyllcms/repos/community-x86_64/PKGBUILD
    (from rev 193309, argyllcms/trunk/PKGBUILD)
  argyllcms/repos/community-x86_64/argyllcms.install
    (from rev 193309, argyllcms/trunk/argyllcms.install)
Deleted:
  argyllcms/repos/community-i686/PKGBUILD
  argyllcms/repos/community-i686/argyllcms-1.8.0-gcc5.patch
  argyllcms/repos/community-i686/argyllcms.install
  argyllcms/repos/community-x86_64/PKGBUILD
  argyllcms/repos/community-x86_64/argyllcms-1.8.0-gcc5.patch
  argyllcms/repos/community-x86_64/argyllcms.install

---------------------------------------------+
 /PKGBUILD                                   |  116 ++++++++++++++++++++++++++
 /argyllcms.install                          |   78 +++++++++++++++++
 community-i686/PKGBUILD                     |   61 -------------
 community-i686/argyllcms-1.8.0-gcc5.patch   |   20 ----
 community-i686/argyllcms.install            |   39 --------
 community-x86_64/PKGBUILD                   |   61 -------------
 community-x86_64/argyllcms-1.8.0-gcc5.patch |   20 ----
 community-x86_64/argyllcms.install          |   39 --------
 8 files changed, 194 insertions(+), 240 deletions(-)

Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD	2016-10-25 15:13:30 UTC (rev 193309)
+++ community-i686/PKGBUILD	2016-10-25 15:13:38 UTC (rev 193310)
@@ -1,61 +0,0 @@
-# $Id$
-# Maintainer: Timothy Redaelli <timothy.redaelli at gmail.com>
-# Contributor: Frank Ickstadt (frank dot ickstadt at gmail dot com)
-
-pkgname=argyllcms
-_pkgname=Argyll
-pkgver=1.8.3
-_pkgver="V${pkgver}"
-pkgrel=1
-pkgdesc="An ICC compatible color management system with support for different colorimeter hardware"
-arch=(i686 x86_64)
-depends=('libtiff' 'libxss' 'libxinerama' 'libxxf86vm' 'libxrandr' 'openssl')
-makedepends=('ftjam' 'zip' 'unzip')
-# You need to fake an UserAgent or it doesn't download
-DLAGENTS=('http::/usr/bin/curl -fLC - --retry 3 --retry-delay 3 -A "Mozilla/4.0" -o %o %u')
-source=(http://www.argyllcms.com/${_pkgname}_${_pkgver}_src.zip
-        argyllcms-1.8.0-gcc5.patch)
-url="http://www.argyllcms.com/"
-license=("GPL" "AGPL")
-install=${pkgname}.install
-sha256sums=('60494176785f6c2e4e4daefb9452d83859880449040b2a843ed81de3bd0c558e'
-            'de9b8a90e249070d457291c29ae3c732f89c51bc6f6296cb6aa7e800ba31a0e5')
-
-prepare() {
-  cd ${_pkgname}_${_pkgver}
-  sed -i 's:^TEST=="/lib/udev/usb-db", IMPORT{program}="usb-db %p":IMPORT{builtin}="hwdb --subsystem=usb":' usb/55-Argyll.rules
-  patch -Np1 -i "$srcdir"/argyllcms-1.8.0-gcc5.patch
-
-  sed -i 's/-j${NUMBER_OF_PROCESSORS:-2}/$MAKEFLAGS/' makeall.sh
-
-  # From Gentoo argyllcms ebuild
-  echo "LINKFLAGS += ${LDFLAGS} ;" >> Jamtop
-  echo "STDLIBS += -ldl -lrt -lX11 -lXext -lXxf86vm -lXinerama -lXrandr -lXau -lXdmcp -lXss -ltiff -ljpeg ;" >> Jamtop
-}
-
-build() {
-  cd ${_pkgname}_${_pkgver}
-
-  CCOPTFLAG="$CFLAGS" ./makeall.sh
-  ./makeinstall.sh
-  ./makepackagebin.sh
-  rm {bin,ref}/License.txt
-  rm {doc,ref}/afiles
-}
-
-package() {
-  mkdir -p "${pkgdir}"/usr/bin
-  install -m755 ${_pkgname}_${_pkgver}/bin/* "${pkgdir}"/usr/bin
-  mkdir -p "${pkgdir}"/usr/share/${pkgname}/ref
-  install -m644 ${_pkgname}_${_pkgver}/ref/*.* "${pkgdir}"/usr/share/${pkgname}/ref
-  install -m644 ${_pkgname}_${_pkgver}/profile/*.sp "${pkgdir}"/usr/share/${pkgname}/ref
-  install -m644 ${_pkgname}_${_pkgver}/scanin/*.c?? "${pkgdir}"/usr/share/${pkgname}/ref
-  # Because there is just html documentation we have to move it
-  mkdir -p "${pkgdir}"/usr/share/${pkgname}/doc/ccmxs
-  install -m644 ${_pkgname}_${_pkgver}/doc/ccmxs/*.ccmx "${pkgdir}"/usr/share/${pkgname}/doc/ccmxs
-  install -m644 ${_pkgname}_${_pkgver}/doc/*.* "${pkgdir}"/usr/share/${pkgname}/doc
-  mkdir -p "${pkgdir}"/usr/lib/udev/rules.d
-  install -m644 ${_pkgname}_${_pkgver}/usb/55-Argyll.rules "${pkgdir}"/usr/lib/udev/rules.d/55-Argyll.rules
-}
-
-# vim:set ts=2 sw=2 et:

Copied: argyllcms/repos/community-i686/PKGBUILD (from rev 193309, argyllcms/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2016-10-25 15:13:38 UTC (rev 193310)
@@ -0,0 +1,58 @@
+# $Id$
+# Maintainer: Timothy Redaelli <timothy.redaelli at gmail.com>
+# Contributor: Frank Ickstadt (frank dot ickstadt at gmail dot com)
+
+pkgname=argyllcms
+_pkgname=Argyll
+pkgver=1.9.2
+_pkgver="V${pkgver}"
+pkgrel=1
+pkgdesc="An ICC compatible color management system with support for different colorimeter hardware"
+arch=(i686 x86_64)
+depends=('libtiff' 'libxss' 'libxinerama' 'libxxf86vm' 'libxrandr' 'openssl')
+makedepends=('ftjam' 'zip' 'unzip')
+# You need to fake an UserAgent or it doesn't download
+DLAGENTS=('http::/usr/bin/curl -fLC - --retry 3 --retry-delay 3 -A "Mozilla/4.0" -o %o %u')
+source=(http://www.argyllcms.com/${_pkgname}_${_pkgver}_src.zip)
+url="http://www.argyllcms.com/"
+license=("GPL" "AGPL")
+install=${pkgname}.install
+sha256sums=('4d61ae0b91686dea721d34df2e44eaf36c88da87086fd50ccc4e999a58e9ce90')
+
+prepare() {
+  cd ${_pkgname}_${_pkgver}
+  sed -i 's:^TEST=="/lib/udev/usb-db", IMPORT{program}="usb-db %p":IMPORT{builtin}="hwdb --subsystem=usb":' usb/55-Argyll.rules
+
+  sed -i 's/-j${NUMBER_OF_PROCESSORS:-2}/$MAKEFLAGS/' makeall.sh
+
+  # From Gentoo argyllcms ebuild
+  echo "LINKFLAGS += ${LDFLAGS} ;" >> Jamtop
+  echo "STDLIBS += -ldl -lrt -lX11 -lXext -lXxf86vm -lXinerama -lXrandr -lXau -lXdmcp -lXss -ltiff -ljpeg ;" >> Jamtop
+}
+
+build() {
+  cd ${_pkgname}_${_pkgver}
+
+  CCOPTFLAG="$CFLAGS" ./makeall.sh
+  ./makeinstall.sh
+  ./makepackagebin.sh
+  rm {bin,ref}/License.txt
+  rm {doc,ref}/afiles
+}
+
+package() {
+  mkdir -p "${pkgdir}"/usr/bin
+  install -m755 ${_pkgname}_${_pkgver}/bin/* "${pkgdir}"/usr/bin
+  mkdir -p "${pkgdir}"/usr/share/${pkgname}/ref
+  install -m644 ${_pkgname}_${_pkgver}/ref/*.* "${pkgdir}"/usr/share/${pkgname}/ref
+  install -m644 ${_pkgname}_${_pkgver}/profile/*.sp "${pkgdir}"/usr/share/${pkgname}/ref
+  install -m644 ${_pkgname}_${_pkgver}/scanin/*.c?? "${pkgdir}"/usr/share/${pkgname}/ref
+  # Because there is just html documentation we have to move it
+  mkdir -p "${pkgdir}"/usr/share/${pkgname}/doc/ccmxs
+  install -m644 ${_pkgname}_${_pkgver}/doc/ccmxs/*.ccmx "${pkgdir}"/usr/share/${pkgname}/doc/ccmxs
+  install -m644 ${_pkgname}_${_pkgver}/doc/*.* "${pkgdir}"/usr/share/${pkgname}/doc
+  mkdir -p "${pkgdir}"/usr/lib/udev/rules.d
+  install -m644 ${_pkgname}_${_pkgver}/usb/55-Argyll.rules "${pkgdir}"/usr/lib/udev/rules.d/55-Argyll.rules
+}
+
+# vim:set ts=2 sw=2 et:

Deleted: community-i686/argyllcms-1.8.0-gcc5.patch
===================================================================
--- community-i686/argyllcms-1.8.0-gcc5.patch	2016-10-25 15:13:30 UTC (rev 193309)
+++ community-i686/argyllcms-1.8.0-gcc5.patch	2016-10-25 15:13:38 UTC (rev 193310)
@@ -1,20 +0,0 @@
-Description: Fix FTBFS with GCC 5
-Author: James Cowgill <james410 at cowgill.org.uk>
-Bug-Debian: https://bugs.debian.org/777779
-Forwarded: no
----
-This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
---- a/icc/icc.h
-+++ b/icc/icc.h
-@@ -100,7 +100,11 @@
- #define CF64PREC "LL"		/* Constant precision specifier */
- 
- #ifndef ATTRIBUTE_NORETURN
-+#ifdef _MSC_VER
- # define ATTRIBUTE_NORETURN __declspec(noreturn)
-+#else
-+# define ATTRIBUTE_NORETURN __attribute__((noreturn))
-+#endif
- #endif
- 
- #else  /* !__STDC_VERSION__ */

Deleted: community-i686/argyllcms.install
===================================================================
--- community-i686/argyllcms.install	2016-10-25 15:13:30 UTC (rev 193309)
+++ community-i686/argyllcms.install	2016-10-25 15:13:38 UTC (rev 193310)
@@ -1,39 +0,0 @@
-post_install() {
-  cat << EOF
-
-NOTE for argyllcms:
-----
- ==> The documentaion is only available as html!
- ==> You will find it in /usr/share/argyllcms/doc
- ==> Color charts located in /usr/share/argyllcms/ref
- ==> Since release 1.5.0 ColorHug support is enabled by default. The environment variable "ENABLE_COLORHUG" is not longer needed!
-EOF
-
-/usr/sbin/groupadd plugdev &> /dev/null
-RETVAL=$?
-if [ $RETVAL -eq 0 ] ; then
-  /bin/echo "==> Added group plugdev. Please add your argyllcms user to this group! <=="
-elif [ $RETVAL -eq 9 ] ; then
-  /bin/echo "==> Please add your argyllcms user to plugdev group! <=="
-else
-  /bin/echo "==> Please create group plugdev and add your argyllcms user to this group! <=="
-fi
-}
-
-post_upgrade() {
-  post_install $1
-}
-
-pre_remove() {
-  /bin/true
-}
-
-post_remove() {
-  /bin/echo "==> Please check if group plugdev and your assigned argyllcms user is still required! <=="
-  /bin/true
-}
-
-op=$1
-shift
-
-$op $*

Copied: argyllcms/repos/community-i686/argyllcms.install (from rev 193309, argyllcms/trunk/argyllcms.install)
===================================================================
--- community-i686/argyllcms.install	                        (rev 0)
+++ community-i686/argyllcms.install	2016-10-25 15:13:38 UTC (rev 193310)
@@ -0,0 +1,39 @@
+post_install() {
+  cat << EOF
+
+NOTE for argyllcms:
+----
+ ==> The documentaion is only available as html!
+ ==> You will find it in /usr/share/argyllcms/doc
+ ==> Color charts located in /usr/share/argyllcms/ref
+ ==> Since release 1.5.0 ColorHug support is enabled by default. The environment variable "ENABLE_COLORHUG" is not longer needed!
+EOF
+
+/usr/sbin/groupadd plugdev &> /dev/null
+RETVAL=$?
+if [ $RETVAL -eq 0 ] ; then
+  /bin/echo "==> Added group plugdev. Please add your argyllcms user to this group! <=="
+elif [ $RETVAL -eq 9 ] ; then
+  /bin/echo "==> Please add your argyllcms user to plugdev group! <=="
+else
+  /bin/echo "==> Please create group plugdev and add your argyllcms user to this group! <=="
+fi
+}
+
+post_upgrade() {
+  post_install $1
+}
+
+pre_remove() {
+  /bin/true
+}
+
+post_remove() {
+  /bin/echo "==> Please check if group plugdev and your assigned argyllcms user is still required! <=="
+  /bin/true
+}
+
+op=$1
+shift
+
+$op $*

Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD	2016-10-25 15:13:30 UTC (rev 193309)
+++ community-x86_64/PKGBUILD	2016-10-25 15:13:38 UTC (rev 193310)
@@ -1,61 +0,0 @@
-# $Id$
-# Maintainer: Timothy Redaelli <timothy.redaelli at gmail.com>
-# Contributor: Frank Ickstadt (frank dot ickstadt at gmail dot com)
-
-pkgname=argyllcms
-_pkgname=Argyll
-pkgver=1.8.3
-_pkgver="V${pkgver}"
-pkgrel=1
-pkgdesc="An ICC compatible color management system with support for different colorimeter hardware"
-arch=(i686 x86_64)
-depends=('libtiff' 'libxss' 'libxinerama' 'libxxf86vm' 'libxrandr' 'openssl')
-makedepends=('ftjam' 'zip' 'unzip')
-# You need to fake an UserAgent or it doesn't download
-DLAGENTS=('http::/usr/bin/curl -fLC - --retry 3 --retry-delay 3 -A "Mozilla/4.0" -o %o %u')
-source=(http://www.argyllcms.com/${_pkgname}_${_pkgver}_src.zip
-        argyllcms-1.8.0-gcc5.patch)
-url="http://www.argyllcms.com/"
-license=("GPL" "AGPL")
-install=${pkgname}.install
-sha256sums=('60494176785f6c2e4e4daefb9452d83859880449040b2a843ed81de3bd0c558e'
-            'de9b8a90e249070d457291c29ae3c732f89c51bc6f6296cb6aa7e800ba31a0e5')
-
-prepare() {
-  cd ${_pkgname}_${_pkgver}
-  sed -i 's:^TEST=="/lib/udev/usb-db", IMPORT{program}="usb-db %p":IMPORT{builtin}="hwdb --subsystem=usb":' usb/55-Argyll.rules
-  patch -Np1 -i "$srcdir"/argyllcms-1.8.0-gcc5.patch
-
-  sed -i 's/-j${NUMBER_OF_PROCESSORS:-2}/$MAKEFLAGS/' makeall.sh
-
-  # From Gentoo argyllcms ebuild
-  echo "LINKFLAGS += ${LDFLAGS} ;" >> Jamtop
-  echo "STDLIBS += -ldl -lrt -lX11 -lXext -lXxf86vm -lXinerama -lXrandr -lXau -lXdmcp -lXss -ltiff -ljpeg ;" >> Jamtop
-}
-
-build() {
-  cd ${_pkgname}_${_pkgver}
-
-  CCOPTFLAG="$CFLAGS" ./makeall.sh
-  ./makeinstall.sh
-  ./makepackagebin.sh
-  rm {bin,ref}/License.txt
-  rm {doc,ref}/afiles
-}
-
-package() {
-  mkdir -p "${pkgdir}"/usr/bin
-  install -m755 ${_pkgname}_${_pkgver}/bin/* "${pkgdir}"/usr/bin
-  mkdir -p "${pkgdir}"/usr/share/${pkgname}/ref
-  install -m644 ${_pkgname}_${_pkgver}/ref/*.* "${pkgdir}"/usr/share/${pkgname}/ref
-  install -m644 ${_pkgname}_${_pkgver}/profile/*.sp "${pkgdir}"/usr/share/${pkgname}/ref
-  install -m644 ${_pkgname}_${_pkgver}/scanin/*.c?? "${pkgdir}"/usr/share/${pkgname}/ref
-  # Because there is just html documentation we have to move it
-  mkdir -p "${pkgdir}"/usr/share/${pkgname}/doc/ccmxs
-  install -m644 ${_pkgname}_${_pkgver}/doc/ccmxs/*.ccmx "${pkgdir}"/usr/share/${pkgname}/doc/ccmxs
-  install -m644 ${_pkgname}_${_pkgver}/doc/*.* "${pkgdir}"/usr/share/${pkgname}/doc
-  mkdir -p "${pkgdir}"/usr/lib/udev/rules.d
-  install -m644 ${_pkgname}_${_pkgver}/usb/55-Argyll.rules "${pkgdir}"/usr/lib/udev/rules.d/55-Argyll.rules
-}
-
-# vim:set ts=2 sw=2 et:

Copied: argyllcms/repos/community-x86_64/PKGBUILD (from rev 193309, argyllcms/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2016-10-25 15:13:38 UTC (rev 193310)
@@ -0,0 +1,58 @@
+# $Id$
+# Maintainer: Timothy Redaelli <timothy.redaelli at gmail.com>
+# Contributor: Frank Ickstadt (frank dot ickstadt at gmail dot com)
+
+pkgname=argyllcms
+_pkgname=Argyll
+pkgver=1.9.2
+_pkgver="V${pkgver}"
+pkgrel=1
+pkgdesc="An ICC compatible color management system with support for different colorimeter hardware"
+arch=(i686 x86_64)
+depends=('libtiff' 'libxss' 'libxinerama' 'libxxf86vm' 'libxrandr' 'openssl')
+makedepends=('ftjam' 'zip' 'unzip')
+# You need to fake an UserAgent or it doesn't download
+DLAGENTS=('http::/usr/bin/curl -fLC - --retry 3 --retry-delay 3 -A "Mozilla/4.0" -o %o %u')
+source=(http://www.argyllcms.com/${_pkgname}_${_pkgver}_src.zip)
+url="http://www.argyllcms.com/"
+license=("GPL" "AGPL")
+install=${pkgname}.install
+sha256sums=('4d61ae0b91686dea721d34df2e44eaf36c88da87086fd50ccc4e999a58e9ce90')
+
+prepare() {
+  cd ${_pkgname}_${_pkgver}
+  sed -i 's:^TEST=="/lib/udev/usb-db", IMPORT{program}="usb-db %p":IMPORT{builtin}="hwdb --subsystem=usb":' usb/55-Argyll.rules
+
+  sed -i 's/-j${NUMBER_OF_PROCESSORS:-2}/$MAKEFLAGS/' makeall.sh
+
+  # From Gentoo argyllcms ebuild
+  echo "LINKFLAGS += ${LDFLAGS} ;" >> Jamtop
+  echo "STDLIBS += -ldl -lrt -lX11 -lXext -lXxf86vm -lXinerama -lXrandr -lXau -lXdmcp -lXss -ltiff -ljpeg ;" >> Jamtop
+}
+
+build() {
+  cd ${_pkgname}_${_pkgver}
+
+  CCOPTFLAG="$CFLAGS" ./makeall.sh
+  ./makeinstall.sh
+  ./makepackagebin.sh
+  rm {bin,ref}/License.txt
+  rm {doc,ref}/afiles
+}
+
+package() {
+  mkdir -p "${pkgdir}"/usr/bin
+  install -m755 ${_pkgname}_${_pkgver}/bin/* "${pkgdir}"/usr/bin
+  mkdir -p "${pkgdir}"/usr/share/${pkgname}/ref
+  install -m644 ${_pkgname}_${_pkgver}/ref/*.* "${pkgdir}"/usr/share/${pkgname}/ref
+  install -m644 ${_pkgname}_${_pkgver}/profile/*.sp "${pkgdir}"/usr/share/${pkgname}/ref
+  install -m644 ${_pkgname}_${_pkgver}/scanin/*.c?? "${pkgdir}"/usr/share/${pkgname}/ref
+  # Because there is just html documentation we have to move it
+  mkdir -p "${pkgdir}"/usr/share/${pkgname}/doc/ccmxs
+  install -m644 ${_pkgname}_${_pkgver}/doc/ccmxs/*.ccmx "${pkgdir}"/usr/share/${pkgname}/doc/ccmxs
+  install -m644 ${_pkgname}_${_pkgver}/doc/*.* "${pkgdir}"/usr/share/${pkgname}/doc
+  mkdir -p "${pkgdir}"/usr/lib/udev/rules.d
+  install -m644 ${_pkgname}_${_pkgver}/usb/55-Argyll.rules "${pkgdir}"/usr/lib/udev/rules.d/55-Argyll.rules
+}
+
+# vim:set ts=2 sw=2 et:

Deleted: community-x86_64/argyllcms-1.8.0-gcc5.patch
===================================================================
--- community-x86_64/argyllcms-1.8.0-gcc5.patch	2016-10-25 15:13:30 UTC (rev 193309)
+++ community-x86_64/argyllcms-1.8.0-gcc5.patch	2016-10-25 15:13:38 UTC (rev 193310)
@@ -1,20 +0,0 @@
-Description: Fix FTBFS with GCC 5
-Author: James Cowgill <james410 at cowgill.org.uk>
-Bug-Debian: https://bugs.debian.org/777779
-Forwarded: no
----
-This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
---- a/icc/icc.h
-+++ b/icc/icc.h
-@@ -100,7 +100,11 @@
- #define CF64PREC "LL"		/* Constant precision specifier */
- 
- #ifndef ATTRIBUTE_NORETURN
-+#ifdef _MSC_VER
- # define ATTRIBUTE_NORETURN __declspec(noreturn)
-+#else
-+# define ATTRIBUTE_NORETURN __attribute__((noreturn))
-+#endif
- #endif
- 
- #else  /* !__STDC_VERSION__ */

Deleted: community-x86_64/argyllcms.install
===================================================================
--- community-x86_64/argyllcms.install	2016-10-25 15:13:30 UTC (rev 193309)
+++ community-x86_64/argyllcms.install	2016-10-25 15:13:38 UTC (rev 193310)
@@ -1,39 +0,0 @@
-post_install() {
-  cat << EOF
-
-NOTE for argyllcms:
-----
- ==> The documentaion is only available as html!
- ==> You will find it in /usr/share/argyllcms/doc
- ==> Color charts located in /usr/share/argyllcms/ref
- ==> Since release 1.5.0 ColorHug support is enabled by default. The environment variable "ENABLE_COLORHUG" is not longer needed!
-EOF
-
-/usr/sbin/groupadd plugdev &> /dev/null
-RETVAL=$?
-if [ $RETVAL -eq 0 ] ; then
-  /bin/echo "==> Added group plugdev. Please add your argyllcms user to this group! <=="
-elif [ $RETVAL -eq 9 ] ; then
-  /bin/echo "==> Please add your argyllcms user to plugdev group! <=="
-else
-  /bin/echo "==> Please create group plugdev and add your argyllcms user to this group! <=="
-fi
-}
-
-post_upgrade() {
-  post_install $1
-}
-
-pre_remove() {
-  /bin/true
-}
-
-post_remove() {
-  /bin/echo "==> Please check if group plugdev and your assigned argyllcms user is still required! <=="
-  /bin/true
-}
-
-op=$1
-shift
-
-$op $*

Copied: argyllcms/repos/community-x86_64/argyllcms.install (from rev 193309, argyllcms/trunk/argyllcms.install)
===================================================================
--- community-x86_64/argyllcms.install	                        (rev 0)
+++ community-x86_64/argyllcms.install	2016-10-25 15:13:38 UTC (rev 193310)
@@ -0,0 +1,39 @@
+post_install() {
+  cat << EOF
+
+NOTE for argyllcms:
+----
+ ==> The documentaion is only available as html!
+ ==> You will find it in /usr/share/argyllcms/doc
+ ==> Color charts located in /usr/share/argyllcms/ref
+ ==> Since release 1.5.0 ColorHug support is enabled by default. The environment variable "ENABLE_COLORHUG" is not longer needed!
+EOF
+
+/usr/sbin/groupadd plugdev &> /dev/null
+RETVAL=$?
+if [ $RETVAL -eq 0 ] ; then
+  /bin/echo "==> Added group plugdev. Please add your argyllcms user to this group! <=="
+elif [ $RETVAL -eq 9 ] ; then
+  /bin/echo "==> Please add your argyllcms user to plugdev group! <=="
+else
+  /bin/echo "==> Please create group plugdev and add your argyllcms user to this group! <=="
+fi
+}
+
+post_upgrade() {
+  post_install $1
+}
+
+pre_remove() {
+  /bin/true
+}
+
+post_remove() {
+  /bin/echo "==> Please check if group plugdev and your assigned argyllcms user is still required! <=="
+  /bin/true
+}
+
+op=$1
+shift
+
+$op $*



More information about the arch-commits mailing list