jobextra/lcms2/PKGBUILD

49 lines
1.1 KiB
Bash

pkmv#!/usr/bin/bash
# JOBoRun : Jwm OpenBox Obarun RUNit
# Maintainer : Joe Bo Run <joborun@disroot.org>
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobextra/$pkgname"
# Website : https://pozol.eu
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=lcms2
pkgver=2.15
pkgrel=01
pkgdesc='Small-footprint color management engine, version 2'
url='http://www.littlecms.com/'
depends=('libtiff')
provides=('liblcms2.so')
source=("https://github.com/mm2/Little-CMS/releases/download/lcms${pkgver}/${pkgname}-${pkgver}.tar.gz")
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"
}
#---- arch license gpg-key & sha256sums ----
arch=(x86_64)
license=(MIT)
sha256sums=(b20cbcbd0f503433be2a4e81462106fa61050a35074dc24a4e356792d971ab39) # lcms2-2.15.tar.gz
## 47604a3db5d351e171f12ff223b6225c0ea3a30aa600835aaab4a9cc7b261e37 lcms2-2.15-01-x86_64.pkg.tar.lz