diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-03-12 03:40:54 +0000 |
---|---|---|
committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-03-12 03:40:54 +0000 |
commit | 5d4b5782f03734e12c907cbc7e4b8c35926e9554 (patch) | |
tree | d6b52861ee269d63f88807a3e6cefc926a173247 /community/argyllcms | |
parent | 345769552026b46d72b7318f1efa6d615ce03ee3 (diff) |
Wed Mar 12 03:36:36 UTC 2014
Diffstat (limited to 'community/argyllcms')
-rw-r--r-- | community/argyllcms/PKGBUILD | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/community/argyllcms/PKGBUILD b/community/argyllcms/PKGBUILD index c7cae856a..f5ca8c773 100644 --- a/community/argyllcms/PKGBUILD +++ b/community/argyllcms/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 106923 2014-03-10 14:57:49Z tredaelli $ +# $Id: PKGBUILD 107019 2014-03-11 11:34:21Z tredaelli $ # Maintainer: Timothy Redaelli <timothy.redaelli@gmail.com> # Contributor: Frank Ickstadt (frank dot ickstadt at gmail dot com) @@ -6,7 +6,7 @@ pkgname=argyllcms _pkgname=Argyll pkgver=1.6.3 _pkgver="V${pkgver}" -pkgrel=2 +pkgrel=3 pkgdesc="An ICC compatible color management system with support for different colorimeter hardware" arch=(i686 x86_64) depends=('libxss' 'libxinerama' 'libxxf86vm' 'libxrandr') @@ -18,6 +18,10 @@ license=("GPL" "AGPL") install=${pkgname}.install sha256sums=('188beaa03dd2459403415023f8f8f9aab362bf3062a9822b3622dde6902e4b84') +prepare() { + sed -i 's:^TEST=="/lib/udev/usb-db", IMPORT{program}="usb-db %p":IMPORT{builtin}="hwdb --subsystem=usb":' ${_pkgname}_${_pkgver}/usb/55-Argyll.rules +} + build() { cd ${_pkgname}_${_pkgver} echo "***running makeall.sh***" @@ -43,15 +47,6 @@ package() { 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 - sed -i 's|^IMPORT{program}="usb|#IMPORT{program}="usb|' "${pkgdir}"/usr/lib/udev/rules.d/55-Argyll.rules - cat <<EOF >>"${pkgdir}"/usr/lib/udev/rules.d/55-Argyll.rules - -# As mentioned in https://bugzilla.redhat.com/show_bug.cgi?id=859244 and https://bbs.archlinux.org/viewtopic.php?id=155589 -# I've commented out the line: -# IMPORT{program}="usb-db %p" -# to prevent the error messages: -# systemd-udevd[242]: failed to execute '/usr/lib/udev/usb-db'... -EOF } # vim:set ts=2 sw=2 et: |