Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

PKGBUILD for argyllcms-1.2.1

By: a guest on Aug 20th, 2010  |  syntax: None  |  size: 2.07 KB  |  views: 83  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. # Contributor: Frank Ickstadt (frank dot ickstadt at gmail dot com)
  2. # Contributor: ganymede
  3.  
  4. pkgname=argyllcms
  5. _pkgname=Argyll
  6. pkgver=1.2.1
  7. _pkgver="V${pkgver}"
  8. pkgrel=1
  9. pkgdesc="An ICC compatible color management system with support for different colorimeter hardware."
  10. arch=('i686 x86_64')
  11. depends=('libxss' 'libx11' 'libxinerama' 'libxxf86vm')
  12. makedepends=('ftjam' 'zip' 'unzip')
  13. source=(http://www.argyllcms.com/${_pkgname}_${_pkgver}_src.zip)
  14. url="http://www.argyllcms.com/"
  15. license=("GPL" "AGPL")
  16. install=${pkgname}.install
  17. md5sums=('a62cb593efd5664597ebbbaf767ed483')
  18.  
  19. build() {
  20.   cd ${srcdir}/${_pkgname}_${_pkgver}
  21.   sh makeall.sh
  22.   sh makeinstall.sh
  23.   sh makepackagebin.sh
  24.   rm ${srcdir}/${_pkgname}_${_pkgver}/bin/License.txt
  25.   rm ${srcdir}/${_pkgname}_${_pkgver}/ref/afiles
  26.   rm ${srcdir}/${_pkgname}_${_pkgver}/doc/afiles
  27.   mkdir -p ${pkgdir}/usr/bin
  28.   install -m755 ${srcdir}/${_pkgname}_${_pkgver}/bin/* ${pkgdir}/usr/bin
  29.   mkdir -p ${pkgdir}/usr/share/${pkgname}/ref
  30.   install -m644 ${srcdir}/${_pkgname}_${_pkgver}/ref/* ${pkgdir}/usr/share/${pkgname}/ref
  31.   mkdir -p ${pkgdir}/usr/share/${pkgname}/profile
  32.   install -m644 ${srcdir}/${_pkgname}_${_pkgver}/profile/*.sp ${pkgdir}/usr/share/${pkgname}/profile
  33.   mkdir -p ${pkgdir}/usr/share/${pkgname}/scanin
  34.   install -m644 ${srcdir}/${_pkgname}_${_pkgver}/scanin/*.cht ${pkgdir}/usr/share/${pkgname}/scanin
  35.   install -m644 ${srcdir}/${_pkgname}_${_pkgver}/scanin/*.cie ${pkgdir}/usr/share/${pkgname}/scanin
  36.   mkdir -p ${pkgdir}/usr/share/${pkgname}/spectro
  37.   install -m644 ${srcdir}/${_pkgname}_${_pkgver}/spectro/*.ti2 ${pkgdir}/usr/share/${pkgname}/spectro
  38.   install -m644 ${srcdir}/${_pkgname}_${_pkgver}/spectro/*.sp ${pkgdir}/usr/share/${pkgname}/spectro
  39.  # Because there is just html documentation we have to move it
  40.   mkdir -p ${pkgdir}/usr/share/${pkgname}/doc
  41.   install -m644 ${srcdir}/${_pkgname}_${_pkgver}/doc/* ${pkgdir}/usr/share/${pkgname}/doc
  42.   mkdir -p ${pkgdir}/etc/udev/rules.d
  43.   install -m644 ${srcdir}/${_pkgname}_${_pkgver}/libusb/55-Argyll.rules ${pkgdir}/etc/udev/rules.d/55-Argyll.rules
  44. }