summaryrefslogtreecommitdiff
path: root/libre/java-commons-io/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'libre/java-commons-io/PKGBUILD')
-rw-r--r--libre/java-commons-io/PKGBUILD26
1 files changed, 4 insertions, 22 deletions
diff --git a/libre/java-commons-io/PKGBUILD b/libre/java-commons-io/PKGBUILD
index ebe9b4147..74258d0f3 100644
--- a/libre/java-commons-io/PKGBUILD
+++ b/libre/java-commons-io/PKGBUILD
@@ -5,7 +5,7 @@
_pkgname=commons-io
pkgname=java-${_pkgname}
-pkgver=2.11.0
+pkgver=2.5
pkgrel=1.parabola1
pkgdesc="IO related classes for Java."
arch=('any')
@@ -13,30 +13,12 @@ url="https://commons.apache.org/io/"
license=('APACHE')
depends=('java-runtime')
makedepends=('apache-ant' 'jh')
-source=("https://archive.apache.org/dist/commons/io/source/${_pkgname}-${pkgver}-src.tar.gz"{,.asc})
-sha256sums=('5a55361cf2b97228f94b3c65e3a4af784581debe322be551c44b2776db1c6483'
- 'SKIP')
-sha512sums=('e2ab8ebc9c328093a460f8f5f96c80bb45f5073ec7aaa0beabdcdeac2e97324292eab2e2cb8b64d8e78b2c5d89048ba84e50daa0965dffcbe2fd0da7ab789ee3'
- 'SKIP')
-validpgpkeys=('2DB4F1EF0FA761ECC4EA935C86FDC7E2A11262CB') # Gary David Gregory (Code signing key) <ggregory@apache.org>
-prepare() {
- cd "${srcdir}/${_pkgname}-${pkgver}-src"
- mkdir -p build/classes
-}
+source=("https://archive.apache.org/dist/commons/io/source/${_pkgname}-${pkgver}-src.tar.gz")
+sha256sums=('631f75ea09870b40bb140dff456a36be6965619ba51fa23f4c7d4b966520be60')
build() {
cd "${srcdir}/${_pkgname}-${pkgver}-src"
- # ant jar javadoc -Dcomponent.version=${pkgver}
-
- CLASSPATH="/usr/share/java/junit.jar"
- javac -cp "${CLASSPATH}" -d "build/classes" -encoding UTF-8 \
- $(find "src" -name \*.java)
-
-
- # javadoc -classpath $CLASSPATH -d "build/javadoc" \
- # -sourcepath "src" -subpackages org
-
- # jar -cvf "${pkgname}.jar" -C "build/classes" .
+ ant jar javadoc -Dcomponent.version=${pkgver}
}
package() {