[arch-commits] Commit in lcms2/repos (testing-x86_64 testing-x86_64/PKGBUILD)

Christian Hesse eworm at gemini.archlinux.org
Sun Jan 30 16:07:30 UTC 2022


    Date: Sunday, January 30, 2022 @ 16:07:30
  Author: eworm
Revision: 435518

archrelease: copy trunk to testing-x86_64

Added:
  lcms2/repos/testing-x86_64/
  lcms2/repos/testing-x86_64/PKGBUILD
    (from rev 435517, lcms2/trunk/PKGBUILD)

----------+
 PKGBUILD |   34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

Copied: lcms2/repos/testing-x86_64/PKGBUILD (from rev 435517, lcms2/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2022-01-30 16:07:30 UTC (rev 435518)
@@ -0,0 +1,34 @@
+# Maintainer: Eric Bélanger <eric at archlinux.org>
+
+pkgname=lcms2
+pkgver=2.13
+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=('0c67a5cc144029cfa34647a52809ec399aae488db4258a6a66fba318474a070f')
+
+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"
+}



More information about the arch-commits mailing list