jobextra/lcms2/PKGBUILD-arch

35 lines
738 B
Text
Raw Normal View History

2022-03-20 13:34:07 +01:00
# Maintainer: Eric Bélanger <eric@archlinux.org>
pkgname=lcms2
pkgver=2.13.1
pkgrel=1
pkgdesc='Small-footprint color management engine, version 2'
arch=('x86_64')
url='http://www.littlecms.com/'
license=('MIT')
depends=('libtiff')
provides=('liblcms2.so')
source=("https://github.com/mm2/Little-CMS/releases/download/lcms${pkgver}/${pkgname}-${pkgver}.tar.gz")
sha256sums=('d473e796e7b27c5af01bd6d1552d42b45b43457e7182ce9903f38bb748203b88')
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 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}