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:
parent
349d78da5b
commit
b1820d8ece
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'davmail'
|
# Template file for 'davmail'
|
||||||
pkgname=davmail
|
pkgname=davmail
|
||||||
version=5.5.1
|
version=5.5.1
|
||||||
revision=1
|
revision=2
|
||||||
_commit=3299
|
_commit=3299
|
||||||
wrksrc=davmail-src-${version}-${_commit}
|
wrksrc=davmail-src-${version}-${_commit}
|
||||||
hostmakedepends="openjdk8 apache-ant"
|
hostmakedepends="openjdk8 apache-ant"
|
||||||
|
@ -25,3 +25,10 @@ do_install() {
|
||||||
vcopy "lib/*" usr/share/davmail/lib
|
vcopy "lib/*" usr/share/davmail/lib
|
||||||
vbin src/bin/davmail
|
vbin src/bin/davmail
|
||||||
}
|
}
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
|
x86_64) return 0 ;;
|
||||||
|
esac
|
||||||
|
rm -f ${DESTDIR}/usr/share/davmail/lib/swt-*
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue