summaryrefslogtreecommitdiff
path: root/libre/jakarta-oro/PKGBUILD
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-02-23 12:23:25 -0200
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-02-23 12:23:25 -0200
commit65d5f7650f067bb6ac79e7f0070341b6896706e5 (patch)
treed8093ff80c180d478d8c5905cf276a62b050d905 /libre/jakarta-oro/PKGBUILD
parentf9cb39ad0bfd90dc6a0c5b536bc0044793165c6c (diff)
parent91884bb318255d573946494b78bedd76a0085d65 (diff)
Merge branch 'master' of ssh://projects.parabolagnulinux.org:1863/srv/git/abslibre
Diffstat (limited to 'libre/jakarta-oro/PKGBUILD')
-rw-r--r--libre/jakarta-oro/PKGBUILD31
1 files changed, 31 insertions, 0 deletions
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 <lukeshu@sbcglobal.net>
+# Maintainer (AUR): Xiao-Long Chen <chenxiaolong@cxl.epac.to>
+# 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"
+}