30 lines
823 B
Bash
30 lines
823 B
Bash
# Template file for 'davmail'
|
|
pkgname=davmail
|
|
version=5.2.0
|
|
revision=1
|
|
archs="i686 x86_64"
|
|
hostmakedepends="openjdk apache-ant"
|
|
short_desc="DavMail is a POP/IMAP/SMTP/Caldav/Carddav/LDAP exchange gateway"
|
|
maintainer="Anachron <gith@cron.world>"
|
|
license="GPL-2"
|
|
homepage="http://davmail.sourceforge.net"
|
|
distfiles="https://github.com/mguessan/${pkgname}/archive/${version}.tar.gz"
|
|
checksum=b42745394dfa19fe48b73cca0f3063aa745750b369a8533c65732de8de11ce93
|
|
|
|
do_build() {
|
|
ant
|
|
}
|
|
|
|
do_install() {
|
|
_src="dist/${pkgname}-src-${version}-trunk.tgz"
|
|
|
|
mkdir -p install
|
|
tar -xzf "${_src}" -C install
|
|
|
|
find install -type f -name \*.exe -delete
|
|
vmkdir usr/share/$pkgname
|
|
mv install/$pkgname-src-${version}-trunk/* "${DESTDIR}"/usr/share/$pkgname
|
|
|
|
vmkdir usr/bin
|
|
ln -s ../share/$pkgname/$pkgname.sh "${DESTDIR}"/usr/bin/$pkgname
|
|
}
|