summaryrefslogtreecommitdiff
path: root/libre/java-commons-io
diff options
context:
space:
mode:
Diffstat (limited to 'libre/java-commons-io')
-rw-r--r--libre/java-commons-io/PKGBUILD12
1 files changed, 6 insertions, 6 deletions
diff --git a/libre/java-commons-io/PKGBUILD b/libre/java-commons-io/PKGBUILD
index b87ea897a..74258d0f3 100644
--- a/libre/java-commons-io/PKGBUILD
+++ b/libre/java-commons-io/PKGBUILD
@@ -5,8 +5,8 @@
_pkgname=commons-io
pkgname=java-${_pkgname}
-pkgver=2.4
-pkgrel=2.parabola1
+pkgver=2.5
+pkgrel=1.parabola1
pkgdesc="IO related classes for Java."
arch=('any')
url="https://commons.apache.org/io/"
@@ -14,11 +14,11 @@ license=('APACHE')
depends=('java-runtime')
makedepends=('apache-ant' 'jh')
source=("https://archive.apache.org/dist/commons/io/source/${_pkgname}-${pkgver}-src.tar.gz")
-md5sums=('a3e251952d75991fc8df40ad6b605094')
+sha256sums=('631f75ea09870b40bb140dff456a36be6965619ba51fa23f4c7d4b966520be60')
build() {
cd "${srcdir}/${_pkgname}-${pkgver}-src"
- ant jar javadoc -Dcomponent.version=2.4
+ ant jar javadoc -Dcomponent.version=${pkgver}
}
package() {
@@ -34,8 +34,8 @@ package() {
# Install Maven artifacts
export DESTDIR=${pkgdir}
jh mvn-install ${_pkgname} ${_pkgname} ${pkgver} \
- "${srcdir}/${_pkgname}-${pkgver}-src/pom.xml" \
- "${srcdir}/${_pkgname}-${pkgver}-src/target/${_pkgname}-${pkgver}.jar" \
+ pom.xml \
+ "target/${_pkgname}-${pkgver}.jar" \
"${_pkgname}-${pkgver}.jar"
ln -s "/usr/share/java/${_pkgname}-${pkgver}.jar" \
"${pkgdir}/usr/share/java/${_pkgname}.jar"