From 933408834ea04791a9b651d46589d7276c5b91a7 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Sat, 22 Feb 2014 15:48:22 -0500 Subject: update apache-ant, move it (and dependencies) from [java] to [libre] --- libre/jakarta-oro/PKGBUILD | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 libre/jakarta-oro/PKGBUILD (limited to 'libre/jakarta-oro/PKGBUILD') diff --git a/libre/jakarta-oro/PKGBUILD b/libre/jakarta-oro/PKGBUILD new file mode 100644 index 000000000..18e0ade64 --- /dev/null +++ b/libre/jakarta-oro/PKGBUILD @@ -0,0 +1,31 @@ +# Maintainer: Luke Shumaker +# Maintainer (AUR): Xiao-Long Chen +# Rationale: Build dependency of apache-ant + +pkgname=jakarta-oro +pkgver=2.0.8 +pkgrel=1.2 +pkgdesc="Java regular expression and text-processing library" +arch=('any') +url="https://jakarta.apache.org/oro" +license=('Apache') +makedepends=('apache-ant') +source=("http://archive.apache.org/dist/jakarta/oro/${pkgname}-${pkgver}.tar.gz") +sha512sums=('a7f6eb6a088765f273df18ccc823f918737f18ec8772275054839a87f8370f1848e795d481f226c712651104d7598ab86c7d90a991fb039df6581f42f1447920') + +prepare() { + cd "${srcdir}/${pkgname}-${pkgver}" + find . \( -name '*.jar' -o -name '*.class' \) -delete +} + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + ant jar +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + + install -Dm644 ${pkgname}-${pkgver}.jar \ + "${pkgdir}/usr/share/java/${pkgname}.jar" +} -- cgit v1.2.3-2-g168b