summaryrefslogtreecommitdiff
path: root/libre/java-commons-io
diff options
context:
space:
mode:
authorDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2022-05-02 22:17:34 +0200
committerDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2022-06-22 23:25:02 +0200
commitda0f2620f74ece0808593d8eaabce84c9e1831d1 (patch)
treef420b1f33d0d6dd8e7e21a23c199ca77a08f274b /libre/java-commons-io
parentd98edd324aa77753bf2c1df59c17e873e1e21a5a (diff)
downloadabslibre-da0f2620f74ece0808593d8eaabce84c9e1831d1.tar.gz
abslibre-da0f2620f74ece0808593d8eaabce84c9e1831d1.tar.bz2
abslibre-da0f2620f74ece0808593d8eaabce84c9e1831d1.zip
merge
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Diffstat (limited to 'libre/java-commons-io')
-rw-r--r--libre/java-commons-io/PKGBUILD26
1 files changed, 22 insertions, 4 deletions
diff --git a/libre/java-commons-io/PKGBUILD b/libre/java-commons-io/PKGBUILD
index 74258d0f3..ebe9b4147 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.5
+pkgver=2.11.0
pkgrel=1.parabola1
pkgdesc="IO related classes for Java."
arch=('any')
@@ -13,12 +13,30 @@ 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")
-sha256sums=('631f75ea09870b40bb140dff456a36be6965619ba51fa23f4c7d4b966520be60')
+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
+}
build() {
cd "${srcdir}/${_pkgname}-${pkgver}-src"
- ant jar javadoc -Dcomponent.version=${pkgver}
+ # 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" .
}
package() {