summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: aa03e9bcfcfd780cce2c399390fcd7ec566bf781 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Maintainer: xiota / aur.chaotic.cx
# Contributor: Andreas Radke <andyrtr@archlinux.org>
# Contributor: Guillaume ALAUX <guillaume@archlinux.org>
# Contributor: Jan de Groot <jgc@archlinux.org>

_pkgname="xerces2-java"
pkgname="$_pkgname"
pkgver=2.12.2
pkgrel=1
pkgdesc="High performance fully compliant Java XML parser"
arch=('any')
url="https://xml.apache.org/xerces2-j"
license=('Apache')

depends=('java-runtime' 'java-resolver')

provides=("java-xerces2=${pkgver}")
conflicts=('java-xerces2')

source=(
  https://dlcdn.apache.org/xerces/j/binaries/Xerces-J-bin.$pkgver.tar.gz{,.asc}
)
sha256sums=(
  '1ad48949b2c7f0df91668f058d6ec773871adb5527b0b5c73dc2160ab5d162e2'
  'SKIP'
)
validpgpkeys=('4D8FB572FB6ADCFD69CBFE0D7B2586A6B5E25C3D') # Mukul Gandhi (CODE SIGNING KEY) <mukulg@apache.org>

package() {
  cd xerces-${pkgver//./_}
  install -dm755 "${pkgdir}"/usr/share/java
  install -m644 {serializer,xercesImpl,xml-apis}.jar "${pkgdir}"/usr/share/java/
}