From 433981c961938cab3262e4a9bf6aded1911bdc5d Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Wed, 20 Feb 2019 11:37:22 +0100 Subject: topal neu --- topal/PKGBUILD | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ topal/topal.install | 19 +++++++++++++++++++ 2 files changed, 67 insertions(+) create mode 100644 topal/PKGBUILD create mode 100644 topal/topal.install (limited to 'topal') diff --git a/topal/PKGBUILD b/topal/PKGBUILD new file mode 100644 index 00000000..53810bed --- /dev/null +++ b/topal/PKGBUILD @@ -0,0 +1,48 @@ +# Contributor: Adrian C. (anrxc) +# Contributor: Jose Riha jose1711 gmail com +# Maintainer: Erich Eckner + +pkgname=topal +pkgver=76 +pkgrel=1 +pkgdesc="Topal is a glue program that links GnuPG and Alpine" +arch=("i686" "x86_64") +#url="http://homepage.ntlworld.com/phil.brooke/topal" +license=("GPL3") +makedepends=("gcc-ada" "make" "lynx") +optdepends=("alpine: for which topal was mainly written for" + "re-alpine: fork of alpine for which topal was mainly written for" + "gnupg: to encrypt, decrypt, sign and verify e-mail" + "metamail: to display and process MIME messages" + "mime-support: its run-mailcap tool as alternative to metamail" + "openssh: for remote and server mode of operation") +install="${pkgname}.install" +options=("!makeflags") +source=("https://fossies.org/linux/privat/topal-package-${pkgver}.tgz") +md5sums=('afe0010716bcb0073d31b3328c7b65ae') + + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + +# Remove PDF build stuff + sed -i 's/binary topal.pdf/binary/' Makefile + +# Build Topal and MIME-tool + make distclean + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + +# Install Topal binary, manual page and documentation + install -D -m755 "${pkgname}" "${pkgdir}/usr/bin/${pkgname}" + install -D -m644 "${pkgname}.man" "${pkgdir}/usr/share/man/man1/${pkgname}.1" +# Replaced by some PDF stuff which we will not build + #install -D -m644 README.txt "${pkgdir}/usr/share/doc/${pkgname}/README" + +# Install Topal's version of MIME-tool and manual page + install -D -m755 MIME-tool/mime-tool "${pkgdir}/usr/bin/mime-tool" + install -D -m644 MIME-tool/mime-tool.man "${pkgdir}/usr/share/man/man1/mime-tool.1" +} diff --git a/topal/topal.install b/topal/topal.install new file mode 100644 index 00000000..a531234c --- /dev/null +++ b/topal/topal.install @@ -0,0 +1,19 @@ +post_install() { +cat << _EOF + +==> topal installation notes: + ---------------------------------------- + Topal was mainly developed for the Alpine mailer, and it offers + facilities to encrypt, decrypt, sign and verify e-mail. But Alpine + can't work with MIME RFC2015/3156 multipart/signed and encrypted + messages on its own. If you would like to have multipart e-mail + support check both "alpine-2.00" patches provided in the topal + tarball and build your own alpine package applying both. + +_EOF + +} + +post_upgrade() { + post_install +} -- cgit v1.2.3-54-g00ecf