apache-maven: fix ELF in /usr/share by removing jansi
This fixes ELF in /usr/share, and those prebuilt libraries were useless on everything except their respective target anyway. Disables color output, though.
This commit is contained in:
parent
7c46ee1cdc
commit
6e0cabbd3f
|
@ -2,9 +2,9 @@
|
||||||
pkgname=apache-maven
|
pkgname=apache-maven
|
||||||
version=3.6.0
|
version=3.6.0
|
||||||
revision=1
|
revision=1
|
||||||
|
noarch=yes
|
||||||
hostmakedepends="openjdk"
|
hostmakedepends="openjdk"
|
||||||
depends="virtual?java-environment"
|
depends="virtual?java-environment"
|
||||||
noarch=yes
|
|
||||||
short_desc="Software project management and comprehension tool"
|
short_desc="Software project management and comprehension tool"
|
||||||
maintainer="Michael Aldridge <maldridge@voidlinux.org>"
|
maintainer="Michael Aldridge <maldridge@voidlinux.org>"
|
||||||
license="Apache-2.0"
|
license="Apache-2.0"
|
||||||
|
@ -19,6 +19,11 @@ do_build() {
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
|
# contains bundled native libraries that might not match the platform
|
||||||
|
# disables ansi color support
|
||||||
|
rm -rf ${DESTDIR}/usr/share/${pkgname}/lib/jansi-native
|
||||||
|
rm -f ${DESTDIR}/usr/share/${pkgname}/lib/jansi-*.jar
|
||||||
|
|
||||||
mkdir -p ${DESTDIR}/etc/profile.d
|
mkdir -p ${DESTDIR}/etc/profile.d
|
||||||
vinstall ${FILESDIR}/apache-maven.sh 0755 etc/profile.d/
|
vinstall ${FILESDIR}/apache-maven.sh 0755 etc/profile.d/
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
|
|
Loading…
Reference in New Issue