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' 'icu')
14 source=("https://archive.apache.org/dist/xerces/c/3/sources/${pkgname}-${pkgver}.tar.gz")
15 sha256sums=('3d8ec1c7f94e38fee0e4ca5ad1e1d9db23cbf3a10bba626f6b4afa2dedafe5ab')
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