Name lcms2
Description Small-footprint color management engine, version 2
Version 2.18-1
Package Base lcms2
Homepage http://www.littlecms.com/
Maintainers ['Christian Hesse <eworm@archlinux.org>', 'Eric Bélanger <eric@archlinux.org>']
Contributors []
Distro-repo https://gitlab.archlinux.org/archlinux/packaging/packages/lcms2
Sources ['https://github.com/mm2/Little-CMS/releases/download/lcms2.18/lcms2-2.18.tar.gz']
Dependencies ['libjpeg-turbo', 'libtiff']
Optional-Dependencies []
Build-Dependencies []
Provides ['liblcms2.so']
Builddate 09-01-2026 13:11:10
Architecture x86_64
Distro-Version
Licenses ['MIT']
Hash a339ac558375212fcfd74fa669246b16c08b345c8b0a2e6f1d0d79416310cad0
# Maintainer: Eric Bélanger <eric@archlinux.org>

pkgname=lcms2
pkgver=2.18
pkgrel=1
pkgdesc='Small-footprint color management engine, version 2'
arch=('x86_64')
url='http://www.littlecms.com/'
license=('MIT')
depends=('libjpeg-turbo' 'libtiff')
provides=('liblcms2.so')
source=("https://github.com/mm2/Little-CMS/releases/download/lcms${pkgver}/${pkgname}-${pkgver}.tar.gz")
sha256sums=('ee67be3566f459362c1ee094fde2c159d33fa0390aa4ed5f5af676f9e5004347')

build() {
  cd "${pkgname}-${pkgver}"

  ./configure \
    --prefix=/usr
  make
}

check() {
  cd "${pkgname}-${pkgver}"

  make check
}

package() {
  cd "${pkgname}-${pkgver}"

  make DESTDIR="${pkgdir}" install
  install -D -m0644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}