1 # Maintainer: Guillaume ALAUX <guillaume@archlinux.org>
3 pkgname=("java-${_libname}")
6 pkgdesc="Java library for handling console input"
8 url="https://jline.github.io/"
10 makedepends=('maven' 'java-environment=8')
11 checkdepends=('maven')
12 source=(https://downloads.sourceforge.net/project/${_libname}/${_libname}/${pkgver}/${_libname}-${pkgver}.zip)
13 sha256sums=('761458d1541a44e678b3847917116a90001cf5cd22287c24c55dcf2c69ec73ca')
17 cd "${srcdir}/${_libname}-${pkgver}/src"
19 mvn -Dmaven.repo.local=${_M2_REPO} \
22 -Dmaven.test.skip=true
26 cd "${srcdir}/${_libname}-${pkgver}/src"
28 mvn -Dmaven.repo.local=${_M2_REPO} \
33 depends=('java-runtime-headless')
35 cd "${srcdir}/${_libname}-${pkgver}"
37 install -Dm644 src/target/${_libname}-${pkgver}.jar \
38 "${pkgdir}"/usr/share/java/${_libname}-${pkgver}.jar
39 ln -s ${_libname}-${pkgver}.jar "${pkgdir}"/usr/share/java/${_libname}.jar
41 install -Dm644 LICENSE.txt "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE