summaryrefslogtreecommitdiff
path: root/java
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2013-12-23 04:22:11 -0500
committerLuke Shumaker <LukeShu@sbcglobal.net>2013-12-23 04:22:11 -0500
commit8d69a5267cf7ce3bba6b10f0cbe808b338c2eb5d (patch)
tree2c9bd8416b9bbd4ae2fd212249b83d066ed7c82f /java
parentfa8ffef7dcd5a57349a3a4360d863805f3a02eff (diff)
downloadabslibre-8d69a5267cf7ce3bba6b10f0cbe808b338c2eb5d.tar.gz
abslibre-8d69a5267cf7ce3bba6b10f0cbe808b338c2eb5d.tar.bz2
abslibre-8d69a5267cf7ce3bba6b10f0cbe808b338c2eb5d.zip
touch up java/jakarta-oro
Diffstat (limited to 'java')
-rw-r--r--java/jakarta-oro/PKGBUILD24
1 files changed, 12 insertions, 12 deletions
diff --git a/java/jakarta-oro/PKGBUILD b/java/jakarta-oro/PKGBUILD
index 9bc3e11b9..24f7a2772 100644
--- a/java/jakarta-oro/PKGBUILD
+++ b/java/jakarta-oro/PKGBUILD
@@ -1,30 +1,30 @@
-# Maintainer: Xiao-Long Chen <chenxiaolong@cxl.epac.to>
+# Maintainer: Luke Shumaker <lukeshu@sbcglobal.net>
+# Maintainer (AUR): Xiao-Long Chen <chenxiaolong@cxl.epac.to>
pkgname=jakarta-oro
pkgver=2.0.8
-pkgrel=1
-pkgdesc="Full regular expressions API"
+pkgrel=1.1
+pkgdesc="Java regular expression and text-processing library"
arch=('any')
-url="http://jakarta.apache.org/oro"
+url="https://jakarta.apache.org/oro"
license=('Apache')
makedepends=('apache-ant')
-source=("http://archive.apache.org/dist/jakarta/oro/jakarta-oro-${pkgver}.tar.gz")
+source=("http://archive.apache.org/dist/jakarta/oro/${pkgname}-${pkgver}.tar.gz")
sha512sums=('a7f6eb6a088765f273df18ccc823f918737f18ec8772275054839a87f8370f1848e795d481f226c712651104d7598ab86c7d90a991fb039df6581f42f1447920')
-build() {
+prepare() {
cd "${srcdir}/${pkgname}-${pkgver}"
+ find . \( -name '*.jar' -o -name '*.class' \) -delete
+}
- find . -name '*.jar' -o -name '*.class' -delete
-
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
ant jar
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
- install -dm755 "${pkgdir}/usr/share/java/"
- install -m644 ${pkgname}-${pkgver}.jar \
+ install -Dm644 ${pkgname}-${pkgver}.jar \
"${pkgdir}/usr/share/java/${pkgname}.jar"
}
-
-# vim:set ts=2 sw=2 et: