25 lines
915 B
Bash
25 lines
915 B
Bash
# Template file for 'java-commons-lang'
|
|
pkgname=java-commons-lang
|
|
version=3.16.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=8fa1f76d5adcbbcb6f94c092df89d11cdac3b2de6e159d344fc640565c321487
|
|
|
|
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
|
|
|
|
}
|