blob: b4ea6b3513cee3a6a97f0a78626cff343ec41fcc (
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
|
# Contributor: Xiao-Long Chen <chenxiaolong@cxl.epac.to>
# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
pkgname=jakarta-oro
pkgver=2.0.8
pkgrel=2
pkgdesc="Full regular expressions API"
arch=('any')
url="http://jakarta.apache.org/oro"
license=('apache')
makedepends=('ant')
source=("http://archive.apache.org/dist/jakarta/oro/jakarta-oro-${pkgver}.tar.gz")
sha512sums=('a7f6eb6a088765f273df18ccc823f918737f18ec8772275054839a87f8370f1848e795d481f226c712651104d7598ab86c7d90a991fb039df6581f42f1447920')
build() {
cd "${pkgname}-${pkgver}"
find . -name '*.jar' -o -name '*.class' -delete
ant jar
}
package() {
cd "${pkgname}-${pkgver}"
install -dm755 "$pkgdir"/usr/share/java/
install -m644 ${pkgname}-${pkgver}.jar \
"$pkgdir"/usr/share/java/${pkgname}.jar
}
|