[arch-commits] Commit in lib32-icu/repos (2 files)
Evangelos Foutras
foutrelis at gemini.archlinux.org
Sun Nov 21 21:22:28 UTC 2021
Date: Sunday, November 21, 2021 @ 21:22:28
Author: foutrelis
Revision: 1054013
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 1054012, lib32-icu/trunk/PKGBUILD)
----------+
PKGBUILD | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 50 insertions(+)
Copied: lib32-icu/repos/multilib-staging-x86_64/PKGBUILD (from rev 1054012, lib32-icu/trunk/PKGBUILD)
===================================================================
--- multilib-staging-x86_64/PKGBUILD (rev 0)
+++ multilib-staging-x86_64/PKGBUILD 2021-11-21 21:22:28 UTC (rev 1054013)
@@ -0,0 +1,50 @@
+# Maintainer: josephgbr <rafael.f.f1 at gmail.com>
+
+pkgname=lib32-icu
+pkgver=70.1
+pkgrel=1
+pkgdesc="International Components for Unicode library (32 bit)"
+arch=('x86_64')
+url="https://icu.unicode.org"
+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-70-1/SHASUM512.txt
+sha512sums=('0b26ae7207155cb65a8fdb25f7b2fa4431e74b12bccbed0884a17feaae3c96833d12451064dd152197fd6ea5fd3adfd95594284a463e66c82e0d860f645880c9'
+ 'SKIP')
+validpgpkeys=('0E51E7F06EF719FBD072782A5F56E5AFA63CCD33') #"Craig Cornelius (For use with ICU releases) <ccornelius at google.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