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

Evangelos Foutras foutrelis at archlinux.org
Mon Apr 27 06:17:09 UTC 2020


    Date: Monday, April 27, 2020 @ 06:17:08
  Author: foutrelis
Revision: 621791

archrelease: copy trunk to multilib-staging-x86_64

Added:
  lib32-icu/repos/multilib-staging-x86_64/
  lib32-icu/repos/multilib-staging-x86_64/PKGBUILD
    (from rev 621790, lib32-icu/trunk/PKGBUILD)

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

Copied: lib32-icu/repos/multilib-staging-x86_64/PKGBUILD (from rev 621790, lib32-icu/trunk/PKGBUILD)
===================================================================
--- multilib-staging-x86_64/PKGBUILD	                        (rev 0)
+++ multilib-staging-x86_64/PKGBUILD	2020-04-27 06:17:08 UTC (rev 621791)
@@ -0,0 +1,50 @@
+# Maintainer: josephgbr <rafael.f.f1 at gmail.com>
+
+pkgname=lib32-icu
+pkgver=67.1
+pkgrel=1
+pkgdesc="International Components for Unicode library (32 bit)"
+arch=('x86_64')
+url="http://site.icu-project.org/home"
+license=('custom:icu')
+depends=('lib32-gcc-libs' 'icu')
+makedepends=('gcc-multilib')
+checkdepends=('python')
+provides=(libicu{data,i18n,io,test,tu,uc}.so)
+source=(https://github.com/unicode-org/icu/releases/download/release-${pkgver//./-}/icu4c-${pkgver//./_}-src.tgz{,.asc})
+# https://github.com/unicode-org/icu/releases/download/release-65-1/SHASUM512.txt - no checksum file for v67 release
+sha512sums=('4779f1ce1ca7976f6fad6768853ea8c540da54d11509e3b6cfd864a04b5f2db1c3d4b546387f91ad02fb90804525bc37d2543173f0d705d6ca11dc6f2b7640a8'
+            'SKIP')
+validpgpkeys=('4569BBC09DA846FC91CBD21CE1BBA44593CF2AE0') # "Steven R. Loomis (codesign-qormi) <srloomis at us.ibm.com>"
+
+build() {
+  export CC='gcc -m32'
+  export CXX='g++ -m32'
+  export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
+
+  cd icu/source
+
+  ./configure --prefix=/usr --sysconfdir=/etc --mandir=/usr/share/man --libdir=/usr/lib32
+
+  make
+}
+
+check() {
+  cd "$srcdir/icu/source"
+  make -k check
+}
+
+package() {
+  cd icu/source
+
+  make -j1 DESTDIR="${pkgdir}" install
+  rm -rf "${pkgdir}/usr"/{include,sbin,share}
+
+  # keep icu-config-32
+  find "${pkgdir}/usr/bin" -type f -not -name icu-config -delete
+  mv "${pkgdir}/usr/bin"/icu-config{,-32}
+
+  install -d m644 "${pkgdir}/usr/share/licenses"
+  ln -s icu "${pkgdir}/usr/share/licenses/${pkgname}"
+}
+


More information about the arch-commits mailing list