From b1820d8ece3d58e037cf2f7f1c3cb2a74bf35672 Mon Sep 17 00:00:00 2001 From: q66 Date: Fri, 4 Sep 2020 18:09:56 +0200 Subject: [PATCH] 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 --- srcpkgs/davmail/template | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/srcpkgs/davmail/template b/srcpkgs/davmail/template index 95f804e9c5b..0482c0dce53 100644 --- a/srcpkgs/davmail/template +++ b/srcpkgs/davmail/template @@ -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-* +}