davmail: fix on non-x86_64 systems

next time at least check the contents of the package (and ideally
test) before actually enabling it on all systems
This commit is contained in:
q66 2020-09-04 18:09:56 +02:00
parent 349d78da5b
commit b1820d8ece

View file

@ -1,7 +1,7 @@
# Template file for 'davmail'
pkgname=davmail
version=5.5.1
revision=1
revision=2
_commit=3299
wrksrc=davmail-src-${version}-${_commit}
hostmakedepends="openjdk8 apache-ant"
@ -25,3 +25,10 @@ do_install() {
vcopy "lib/*" usr/share/davmail/lib
vbin src/bin/davmail
}
post_install() {
case "$XBPS_TARGET_MACHINE" in
x86_64) return 0 ;;
esac
rm -f ${DESTDIR}/usr/share/davmail/lib/swt-*
}