mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 23:53:51 +02:00
davmail: update to 5.2.0
This commit is contained in:
parent
3cfe8d397e
commit
79cc258fee
1 changed files with 6 additions and 12 deletions
|
@ -1,35 +1,29 @@
|
||||||
# Template file for 'davmail'
|
# Template file for 'davmail'
|
||||||
pkgname=davmail
|
pkgname=davmail
|
||||||
version=4.8.2
|
version=5.2.0
|
||||||
revision=1
|
revision=1
|
||||||
_build=2524
|
|
||||||
archs="i686 x86_64"
|
archs="i686 x86_64"
|
||||||
wrksrc="${pkgname}-src-${version}-${_build}"
|
|
||||||
hostmakedepends="openjdk apache-ant"
|
hostmakedepends="openjdk apache-ant"
|
||||||
short_desc="DavMail is a POP/IMAP/SMTP/Caldav/Carddav/LDAP exchange gateway"
|
short_desc="DavMail is a POP/IMAP/SMTP/Caldav/Carddav/LDAP exchange gateway"
|
||||||
maintainer="Anachron <Anachron14@gmx.de>"
|
maintainer="Anachron <gith@cron.world>"
|
||||||
license="GPL-2"
|
license="GPL-2"
|
||||||
homepage="http://davmail.sourceforge.net"
|
homepage="http://davmail.sourceforge.net"
|
||||||
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-src-${version}-${_build}.tgz"
|
distfiles="https://github.com/mguessan/${pkgname}/archive/${version}.tar.gz"
|
||||||
checksum=672c7bcf62d0ed710dcaf89cd1b858a94d73959bfc80c708c3e308d4a8a299f0
|
checksum=b42745394dfa19fe48b73cca0f3063aa745750b369a8533c65732de8de11ce93
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
ant
|
ant
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
case $XBPS_TARGET_MACHINE in
|
_src="dist/${pkgname}-src-${version}-trunk.tgz"
|
||||||
i686) _arch="x86";;
|
|
||||||
x86_64) _arch="x86_64";;
|
|
||||||
esac
|
|
||||||
_src="dist/$pkgname-linux-${_arch}-${version}-trunk.tgz"
|
|
||||||
|
|
||||||
mkdir -p install
|
mkdir -p install
|
||||||
tar -xzf "${_src}" -C install
|
tar -xzf "${_src}" -C install
|
||||||
|
|
||||||
find install -type f -name \*.exe -delete
|
find install -type f -name \*.exe -delete
|
||||||
vmkdir usr/share/$pkgname
|
vmkdir usr/share/$pkgname
|
||||||
mv install/$pkgname-linux-${_arch}-${version}/* "${DESTDIR}"/usr/share/$pkgname
|
mv install/$pkgname-src-${version}-trunk/* "${DESTDIR}"/usr/share/$pkgname
|
||||||
|
|
||||||
vmkdir usr/bin
|
vmkdir usr/bin
|
||||||
ln -s ../share/$pkgname/$pkgname.sh "${DESTDIR}"/usr/bin/$pkgname
|
ln -s ../share/$pkgname/$pkgname.sh "${DESTDIR}"/usr/bin/$pkgname
|
||||||
|
|
Loading…
Add table
Reference in a new issue