[arch-commits] Commit in lib32-lcms2/repos (2 files)

Laurent Carlier lcarlier at archlinux.org
Mon Feb 8 08:45:30 UTC 2021


    Date: Monday, February 8, 2021 @ 08:45:29
  Author: lcarlier
Revision: 848821

archrelease: copy trunk to multilib-testing-x86_64

Added:
  lib32-lcms2/repos/multilib-testing-x86_64/
  lib32-lcms2/repos/multilib-testing-x86_64/PKGBUILD
    (from rev 848820, lib32-lcms2/trunk/PKGBUILD)

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

Copied: lib32-lcms2/repos/multilib-testing-x86_64/PKGBUILD (from rev 848820, lib32-lcms2/trunk/PKGBUILD)
===================================================================
--- multilib-testing-x86_64/PKGBUILD	                        (rev 0)
+++ multilib-testing-x86_64/PKGBUILD	2021-02-08 08:45:29 UTC (rev 848821)
@@ -0,0 +1,43 @@
+# Maintainer: Eric Bélanger <eric at archlinux.org>
+# Contributor: Lukas Jirkovsky <l.jirkovsky at gmail.com>
+
+_pkgbasename=lcms2
+pkgname=lib32-lcms2
+pkgver=2.12
+pkgrel=1
+pkgdesc="Small-footprint color management engine, version 2 (32-bit)"
+arch=('x86_64')
+license=('MIT')
+depends=('lib32-libtiff' ${_pkgbasename})
+provides=('liblcms2.so')
+makedepends=('gcc-multilib')
+url="https://www.littlecms.com"
+source=("https://github.com/mm2/Little-CMS/archive/${pkgver}/${_pkgbasename}-${pkgver}.tar.gz")
+sha512sums=('4a4f3727905b1e1d514679bd83da1ead30bc5cf40cd63c3b43663fa6c5d582dc7e3540d5301393d9f01f7d2cde934975cabdcbea718cfd48c390f838d9149abb')
+
+build() {
+  export CC="gcc -m32"
+  export CXX="g++ -m32"
+  export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
+
+  cd Little-CMS-${pkgver}
+
+  ./configure --prefix=/usr --libdir=/usr/lib32
+  make
+}
+
+check() {
+  cd Little-CMS-${pkgver}
+
+  make check
+}
+
+package() {
+  cd Little-CMS-${pkgver}
+
+  make DESTDIR="${pkgdir}" install
+
+  rm -rf "${pkgdir}"/usr/{include,share,bin}
+  mkdir -p "${pkgdir}/usr/share/licenses"
+  ln -s ${_pkgbasename} "${pkgdir}/usr/share/licenses/${pkgname}"
+}


More information about the arch-commits mailing list