25 lines
915 B
Bash
25 lines
915 B
Bash
# Template file for 'java-commons-lang'
|
|
pkgname=java-commons-lang
|
|
version=3.15.0
|
|
revision=1
|
|
hostmakedepends="apache-maven openjdk17"
|
|
depends="virtual?java-runtime"
|
|
short_desc="Helper utilities for the java.lang API"
|
|
maintainer="classabbyamp <void@placeviolette.net>"
|
|
license="Apache-2.0"
|
|
homepage="https://commons.apache.org/proper/commons-lang/"
|
|
changelog="https://raw.githubusercontent.com/apache/commons-lang/master/RELEASE-NOTES.txt"
|
|
distfiles="https://archive.apache.org/dist/commons/lang/source/commons-lang3-${version}-src.tar.gz"
|
|
checksum=a916162fd7b51d7f26f663960eefd07b36095d3f4d150309745c96857c4a61ba
|
|
|
|
do_build() {
|
|
. /etc/profile.d/jdk.sh
|
|
mvn -am -Dmaven.javadoc.skip=true -Dmaven.test.skip=true clean package
|
|
}
|
|
|
|
do_install() {
|
|
vinstall target/commons-lang3-"${version}".jar 644 /usr/lib/java-commons-lang
|
|
ln -s "commons-lang3-$version.jar" "${DESTDIR}"/usr/lib/java-commons-lang/commons-lang.jar
|
|
|
|
}
|