Date: Friday, October 8, 2021 @ 21:07:13 Author: archange Revision: 1028064
archrelease: copy trunk to community-x86_64 Added: argyllcms/repos/community-x86_64/PKGBUILD (from rev 1028063, argyllcms/trunk/PKGBUILD) Deleted: argyllcms/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 90 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 45 insertions(+), 45 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-10-08 21:06:46 UTC (rev 1028063) +++ PKGBUILD 2021-10-08 21:07:13 UTC (rev 1028064) @@ -1,45 +0,0 @@ -# Maintainer: Bruno Pagani <archa...@archlinux.org> -# Contributor: Timothy Redaelli <timothy.redae...@gmail.com> -# Contributor: Frank Ickstadt (frank dot ickstadt at gmail dot com) - -pkgname=argyllcms -_pkgname=Argyll -pkgver=2.2.0 -_pkgver="V${pkgver}" -pkgrel=1 -pkgdesc="An ICC compatible color management system with support for different colorimeter hardware" -arch=(x86_64) -url="https://www.argyllcms.com/" -license=(GPL AGPL) -depends=(libpng libtiff libxss libxinerama libxxf86vm libxrandr zlib openssl) -makedepends=(ftjam zip unzip) -source=("https://www.argyllcms.com/${_pkgname}_${_pkgver}_src.zip") -sha256sums=('c612a2e49fd51e089616cd27b6d4717d0f20fc8edbd906462f0d0dbbabbc711c') - -prepare() { - cd ${_pkgname}_${_pkgver} - # Use hwdb builtin, instead of the obsolete usb-db in the udev rules. - sed -i 's:^TEST=="/lib/udev/usb-db", IMPORT{program}="usb-db %p":IMPORT{builtin}="hwdb --subsystem=usb":' usb/55-Argyll.rules - - # Use LDFLAGS - echo "LINKFLAGS += ${LDFLAGS} ;" >> Jamtop -} - -build() { - cd ${_pkgname}_${_pkgver} - CCOPTFLAG="$CFLAGS" - jam -q -fJambase ${MAKEFLAGS} -sPREFIX=/usr -sDESTDIR="${pkgdir}" -sREFSUBDIR=share/argyllcms/ref all -} - -package() { - cd ${_pkgname}_${_pkgver} - jam -q -fJambase ${MAKEFLAGS} -sPREFIX=/usr -sDESTDIR="${pkgdir}" -sREFSUBDIR=share/argyllcms/ref install - - rm "${pkgdir}"/usr/bin/License.txt - - rm {doc,ref}/afiles - install -Dm644 doc/*.* -t "${pkgdir}"/usr/share/${pkgname}/doc/ - install -Dm644 doc/ccmxs/*.ccmx -t "${pkgdir}"/usr/share/${pkgname}/doc/ccmxs/ - - install -Dm644 usb/55-Argyll.rules -t "${pkgdir}"/usr/lib/udev/rules.d/ -} Copied: argyllcms/repos/community-x86_64/PKGBUILD (from rev 1028063, argyllcms/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-10-08 21:07:13 UTC (rev 1028064) @@ -0,0 +1,45 @@ +# Maintainer: Bruno Pagani <archa...@archlinux.org> +# Contributor: Timothy Redaelli <timothy.redae...@gmail.com> +# Contributor: Frank Ickstadt (frank dot ickstadt at gmail dot com) + +pkgname=argyllcms +_pkgname=Argyll +pkgver=2.2.1 +_pkgver="V${pkgver}" +pkgrel=1 +pkgdesc="An ICC compatible color management system with support for different colorimeter hardware" +arch=(x86_64) +url="https://www.argyllcms.com/" +license=(GPL AGPL) +depends=(libpng libtiff libxss libxinerama libxxf86vm libxrandr zlib openssl) +makedepends=(ftjam zip unzip) +source=("https://www.argyllcms.com/${_pkgname}_${_pkgver}_src.zip") +sha256sums=('24cbef0e81a7ce8424957cbcb399cdea2f069f64866536d181e879ce1ed18ff8') + +prepare() { + cd ${_pkgname}_${_pkgver} + # Use hwdb builtin, instead of the obsolete usb-db in the udev rules. + sed -i 's:^TEST=="/lib/udev/usb-db", IMPORT{program}="usb-db %p":IMPORT{builtin}="hwdb --subsystem=usb":' usb/55-Argyll.rules + + # Use LDFLAGS + echo "LINKFLAGS += ${LDFLAGS} ;" >> Jamtop +} + +build() { + cd ${_pkgname}_${_pkgver} + CCOPTFLAG="$CFLAGS" + jam -q -fJambase ${MAKEFLAGS} -sPREFIX=/usr -sDESTDIR="${pkgdir}" -sREFSUBDIR=share/argyllcms/ref all +} + +package() { + cd ${_pkgname}_${_pkgver} + jam -q -fJambase ${MAKEFLAGS} -sPREFIX=/usr -sDESTDIR="${pkgdir}" -sREFSUBDIR=share/argyllcms/ref install + + rm "${pkgdir}"/usr/bin/License.txt + + rm {doc,ref}/afiles + install -Dm644 doc/*.* -t "${pkgdir}"/usr/share/${pkgname}/doc/ + install -Dm644 doc/ccmxs/*.ccmx -t "${pkgdir}"/usr/share/${pkgname}/doc/ccmxs/ + + install -Dm644 usb/55-Argyll.rules -t "${pkgdir}"/usr/lib/udev/rules.d/ +}