[arch-commits] Commit in xerces-c/repos (staging-x86_64 staging-x86_64/PKGBUILD)

Felix Yan felixonmars at archlinux.org
Sat Dec 19 06:03:06 UTC 2020


    Date: Saturday, December 19, 2020 @ 06:03:05
  Author: felixonmars
Revision: 404521

archrelease: copy trunk to staging-x86_64

Added:
  xerces-c/repos/staging-x86_64/
  xerces-c/repos/staging-x86_64/PKGBUILD
    (from rev 404520, xerces-c/trunk/PKGBUILD)

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

Copied: xerces-c/repos/staging-x86_64/PKGBUILD (from rev 404520, xerces-c/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2020-12-19 06:03:05 UTC (rev 404521)
@@ -0,0 +1,28 @@
+# Maintainer: Lukas Fleischer <lfleischer at archlinux.org>
+# Contributor: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Geoffroy Carrier <geoffroy at archlinux.org>
+# Contributor: Roman Kyrylych <Roman.Kyrylych at gmail.com>
+
+pkgname=xerces-c
+pkgver=3.2.3
+pkgrel=2
+pkgdesc="A validating XML parser written in a portable subset of C++"
+arch=('x86_64')
+url="https://xerces.apache.org/xerces-c/"
+license=('APACHE')
+depends=('gcc-libs' 'curl' 'libnsl')
+source=("https://apache.osuosl.org/xerces/c/3/sources/${pkgname}-${pkgver}.tar.gz")
+md5sums=('a5fa4d920fce31c9ca3bfef241644494')
+
+build() {
+  cd "${pkgname}-${pkgver}"
+
+  [[ "${CARCH}" = "i686" ]] && SSE2="--disable-sse2"
+  ./configure --prefix=/usr --sysconfdir=/etc ${SSE2}
+  make
+}
+
+package() {
+  cd "${pkgname}-${pkgver}"
+  make DESTDIR="${pkgdir}/" install
+}



More information about the arch-commits mailing list