void-packages/srcpkgs/fetchmail/template
Anthony Iliopoulos e9bda16327 fetchmail: update to 6.4.14.
Closes: #27106 [via git-merge-pr]
2020-12-17 13:06:23 -05:00

29 lines
905 B
Bash

# Template file for 'fetchmail'
pkgname=fetchmail
version=6.4.14
revision=1
build_style=gnu-configure
configure_args="--with-ssl=${XBPS_CROSS_BASE}/usr"
hostmakedepends="python3"
makedepends="libressl-devel"
depends="fetchmailconf"
short_desc="Remote-mail retrieval utility"
maintainer="Piotr Wójcik <chocimier@tlen.pl>"
license="GPL-2.0-only"
homepage="http://fetchmail.sourceforge.net/"
changelog="https://gitlab.com/fetchmail/fetchmail/-/blob/legacy_64/NEWS"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.xz"
checksum=424707390f7cdc6d16db4887931117f2242873846b28cc1d0ae1c0ecf158bdcb
post_install() {
vsed -i -e 's,/usr/bin/python ,/usr/bin/python3 ,' "${DESTDIR}/usr/bin/fetchmailconf"
}
fetchmailconf_package() {
depends="python3-future python3-tkinter"
pkg_install() {
vmove usr/bin/fetchmailconf
vmove usr/share/man/man1/fetchmailconf.1
vmove "${py3_sitelib}"
}
}