archrelease: copy trunk to extra-x86_64
[arch-packages.git] / xerces-c / repos / extra-x86_64 / PKGBUILD
blobef0b8536cbea9f2ddaf08761227aa70a3b67274c
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>
6 pkgname=xerces-c
7 pkgver=3.2.4
8 pkgrel=2
9 pkgdesc="A validating XML parser written in a portable subset of C++"
10 arch=('x86_64')
11 url="https://xerces.apache.org/xerces-c/"
12 license=('APACHE')
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')
17 build() {
18   cd "${pkgname}-${pkgver}"
20   [[ "${CARCH}" = "i686" ]] && SSE2="--disable-sse2"
21   ./configure --prefix=/usr --sysconfdir=/etc ${SSE2}
22   make
25 package() {
26   cd "${pkgname}-${pkgver}"
27   make DESTDIR="${pkgdir}/" install