1 # Maintainer: Lukas Fleischer <lfleischer@archlinux.org>
2 # Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
3 # Contributor: Geoffroy Carrier <geoffroy@archlinux.org>
4 # Contributor: Roman Kyrylych <Roman.Kyrylych@gmail.com>
9 pkgdesc="A validating XML parser written in a portable subset of C++"
11 url="https://xerces.apache.org/xerces-c/"
13 depends=('gcc-libs' 'curl' 'libnsl')
14 source=("https://apache.osuosl.org/xerces/c/3/sources/${pkgname}-${pkgver}.tar.gz")
15 md5sums=('a5fa4d920fce31c9ca3bfef241644494')
18 cd "${pkgname}-${pkgver}"
20 [[ "${CARCH}" = "i686" ]] && SSE2="--disable-sse2"
21 ./configure --prefix=/usr --sysconfdir=/etc ${SSE2}
26 cd "${pkgname}-${pkgver}"
27 make DESTDIR="${pkgdir}/" install