Date: Wednesday, December 11, 2013 @ 15:31:23 Author: tredaelli Revision: 102450
upgpkg: argyllcms 1.6.2-1 Modified: argyllcms/trunk/PKGBUILD ----------+ PKGBUILD | 26 ++++++++++++-------------- 1 file changed, 12 insertions(+), 14 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2013-12-11 14:29:21 UTC (rev 102449) +++ PKGBUILD 2013-12-11 14:31:23 UTC (rev 102450) @@ -4,7 +4,7 @@ pkgname=argyllcms _pkgname=Argyll -pkgver=1.6.1 +pkgver=1.6.2 _pkgver="V${pkgver}" pkgrel=1 pkgdesc="An ICC compatible color management system with support for different colorimeter hardware" @@ -15,10 +15,10 @@ url="http://www.argyllcms.com/" license=("GPL" "AGPL") install=${pkgname}.install -md5sums=('aed439b76054ef8e8b065106d314681c') +sha256sums=('c21591d5615a584df438ecbfe7858fde571f6066e56da436c541d08ca899ac9f') build() { - cd "${srcdir}"/${_pkgname}_${_pkgver} + cd ${_pkgname}_${_pkgver} echo "***running makeall.sh***" sh ./makeall.sh echo "***running makeinstall.sh***" @@ -25,25 +25,23 @@ sh ./makeinstall.sh echo "***running makepackagebin.sh***" sh ./makepackagebin.sh - rm "${srcdir}"/${_pkgname}_${_pkgver}/bin/License.txt - rm "${srcdir}"/${_pkgname}_${_pkgver}/ref/License.txt - rm "${srcdir}"/${_pkgname}_${_pkgver}/ref/afiles - rm "${srcdir}"/${_pkgname}_${_pkgver}/doc/afiles + rm {bin,ref}/License.txt + rm {doc,ref}/afiles } package() { mkdir -p "${pkgdir}"/usr/bin - install -m755 "${srcdir}"/${_pkgname}_${_pkgver}/bin/* "${pkgdir}"/usr/bin + install -m755 ${_pkgname}_${_pkgver}/bin/* "${pkgdir}"/usr/bin mkdir -p "${pkgdir}"/usr/share/${pkgname}/ref - install -m644 "${srcdir}"/${_pkgname}_${_pkgver}/ref/*.* "${pkgdir}"/usr/share/${pkgname}/ref - install -m644 "${srcdir}"/${_pkgname}_${_pkgver}/profile/*.sp "${pkgdir}"/usr/share/${pkgname}/ref - install -m644 "${srcdir}"/${_pkgname}_${_pkgver}/scanin/*.c?? "${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 "${srcdir}"/${_pkgname}_${_pkgver}/doc/ccmxs/*.ccmx "${pkgdir}"/usr/share/${pkgname}/doc/ccmxs - install -m644 "${srcdir}"/${_pkgname}_${_pkgver}/doc/*.* "${pkgdir}"/usr/share/${pkgname}/doc + 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 "${srcdir}"/${_pkgname}_${_pkgver}/usb/55-Argyll.rules "${pkgdir}"/usr/lib/udev/rules.d/55-Argyll.rules + 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