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

Andreas Radke andyrtr at archlinux.org
Tue Aug 22 10:00:22 UTC 2017


    Date: Tuesday, August 22, 2017 @ 10:00:21
  Author: andyrtr
Revision: 303245

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  icu/repos/testing-i686/
  icu/repos/testing-i686/PKGBUILD
    (from rev 303244, icu/trunk/PKGBUILD)
  icu/repos/testing-x86_64/
  icu/repos/testing-x86_64/PKGBUILD
    (from rev 303244, icu/trunk/PKGBUILD)

-------------------------+
 testing-i686/PKGBUILD   |   51 ++++++++++++++++++++++++++++++++++++++++++++++
 testing-x86_64/PKGBUILD |   51 ++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 102 insertions(+)

Copied: icu/repos/testing-i686/PKGBUILD (from rev 303244, icu/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2017-08-22 10:00:21 UTC (rev 303245)
@@ -0,0 +1,51 @@
+# $Id$
+# Maintainer: Andreas Radke <andyrtr at archlinux.org>
+# Contributor: Art Gramlich <art at gramlich-net.com>
+
+pkgname=icu
+pkgver=59.1
+pkgrel=2
+pkgdesc="International Components for Unicode library"
+arch=(i686 x86_64)
+url="http://www.icu-project.org/"
+license=('custom:icu')
+depends=('gcc-libs' 'sh')
+#makedepends=('clang')
+# no https available
+source=(#http://download.icu-project.org/files/${pkgname}4c/${pkgver}/${pkgname}4c-${pkgver/./_}-src.tgz
+	http://download.icu-project.org/files/${pkgname}4c/${pkgver}/${pkgname}4c-${pkgver//./_}-src.tgz)
+# upstream offers md5sum checks, only asc file for md5sum check
+md5sums=('54923fa9fab5b2b83f235fb72523de37')
+sha256sums=('7132fdaf9379429d004005217f10e00b7d2319d0fea22bdfddef8991c45b75fe')
+
+prepare() {
+  cd icu/source
+  sed -i 's/xlocale/locale/' i18n/digitlst.cpp
+}
+
+build() {
+  cd icu/source
+  ./configure --prefix=/usr \
+	--sysconfdir=/etc \
+	--mandir=/usr/share/man \
+	--sbindir=/usr/bin
+  make
+}
+
+check() {
+  cd icu/source
+  # some tests are broken when crossbuilding i686
+  if [ "$CARCH" = "x86_64" ]; then
+    make -k check
+	else
+    make -k check || /bin/true
+  fi
+}
+
+package() {
+  cd icu/source
+  make -j1 DESTDIR=${pkgdir} install
+
+  # Install license
+  install -Dm644 ${srcdir}/icu/license.html ${pkgdir}/usr/share/licenses/icu/license.html
+}

Copied: icu/repos/testing-x86_64/PKGBUILD (from rev 303244, icu/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2017-08-22 10:00:21 UTC (rev 303245)
@@ -0,0 +1,51 @@
+# $Id$
+# Maintainer: Andreas Radke <andyrtr at archlinux.org>
+# Contributor: Art Gramlich <art at gramlich-net.com>
+
+pkgname=icu
+pkgver=59.1
+pkgrel=2
+pkgdesc="International Components for Unicode library"
+arch=(i686 x86_64)
+url="http://www.icu-project.org/"
+license=('custom:icu')
+depends=('gcc-libs' 'sh')
+#makedepends=('clang')
+# no https available
+source=(#http://download.icu-project.org/files/${pkgname}4c/${pkgver}/${pkgname}4c-${pkgver/./_}-src.tgz
+	http://download.icu-project.org/files/${pkgname}4c/${pkgver}/${pkgname}4c-${pkgver//./_}-src.tgz)
+# upstream offers md5sum checks, only asc file for md5sum check
+md5sums=('54923fa9fab5b2b83f235fb72523de37')
+sha256sums=('7132fdaf9379429d004005217f10e00b7d2319d0fea22bdfddef8991c45b75fe')
+
+prepare() {
+  cd icu/source
+  sed -i 's/xlocale/locale/' i18n/digitlst.cpp
+}
+
+build() {
+  cd icu/source
+  ./configure --prefix=/usr \
+	--sysconfdir=/etc \
+	--mandir=/usr/share/man \
+	--sbindir=/usr/bin
+  make
+}
+
+check() {
+  cd icu/source
+  # some tests are broken when crossbuilding i686
+  if [ "$CARCH" = "x86_64" ]; then
+    make -k check
+	else
+    make -k check || /bin/true
+  fi
+}
+
+package() {
+  cd icu/source
+  make -j1 DESTDIR=${pkgdir} install
+
+  # Install license
+  install -Dm644 ${srcdir}/icu/license.html ${pkgdir}/usr/share/licenses/icu/license.html
+}



More information about the arch-commits mailing list