47 lines
1.1 KiB
Bash
47 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.16
|
|
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 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
|
}
|
|
|
|
#---- arch license gpg-key & sha256sums ----
|
|
|
|
arch=(x86_64)
|
|
|
|
license=(MIT)
|
|
|
|
sha256sums=(d873d34ad8b9b4cea010631f1a6228d2087475e4dc5e763eb81acc23d9d45a51) # lcms2-2.16.tar.gz
|
|
|
|
## 96c7861075ffb4f99bafc2abf4e6928337c5dfc3a9fd8a198bac0618a2ef1cc4 lcms2-2.16-01-x86_64.pkg.tar.lz
|
|
|