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:
@@ -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-*
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user