diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2013-07-12 22:53:11 -0300 |
---|---|---|
committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2013-07-12 22:53:11 -0300 |
commit | e14736ca7ac051726b587d8fdb8368be502a9109 (patch) | |
tree | 6a40b3b2de9bf45e8f31ba5fd45ee8f2615bd4ae /java/jakarta-oro/PKGBUILD | |
parent | e6e169990bdfc35fb6151f148510bf3f0da1dc1e (diff) | |
parent | 360a407f262ac47087ff29718465fbfc7765cb73 (diff) | |
download | abslibre-e14736ca7ac051726b587d8fdb8368be502a9109.tar.gz abslibre-e14736ca7ac051726b587d8fdb8368be502a9109.tar.bz2 abslibre-e14736ca7ac051726b587d8fdb8368be502a9109.zip |
Merge branch 'master' of ssh://gparabola/srv/git/abslibre
Diffstat (limited to 'java/jakarta-oro/PKGBUILD')
-rw-r--r-- | java/jakarta-oro/PKGBUILD | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/java/jakarta-oro/PKGBUILD b/java/jakarta-oro/PKGBUILD new file mode 100644 index 000000000..9bc3e11b9 --- /dev/null +++ b/java/jakarta-oro/PKGBUILD @@ -0,0 +1,30 @@ +# Maintainer: Xiao-Long Chen <chenxiaolong@cxl.epac.to> + +pkgname=jakarta-oro +pkgver=2.0.8 +pkgrel=1 +pkgdesc="Full regular expressions API" +arch=('any') +url="http://jakarta.apache.org/oro" +license=('Apache') +makedepends=('apache-ant') +source=("http://archive.apache.org/dist/jakarta/oro/jakarta-oro-${pkgver}.tar.gz") +sha512sums=('a7f6eb6a088765f273df18ccc823f918737f18ec8772275054839a87f8370f1848e795d481f226c712651104d7598ab86c7d90a991fb039df6581f42f1447920') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + + find . -name '*.jar' -o -name '*.class' -delete + + ant jar +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + + install -dm755 "${pkgdir}/usr/share/java/" + install -m644 ${pkgname}-${pkgver}.jar \ + "${pkgdir}/usr/share/java/${pkgname}.jar" +} + +# vim:set ts=2 sw=2 et: |