3 # Contributor: Adrian C. (anrxc) <anrxc..sysphere.org>
8 pkgdesc="Topal is a glue program that links GnuPG and Alpine"
10 url="http://homepage.ntlworld.com/phil.brooke/topal"
12 makedepends=("gcc-ada" "make" "lynx")
13 optdepends=("alpine: for which topal was mainly written for"
14 "gnupg: to encrypt, decrypt, sign and verify e-mail"
15 "metamail: to display and process MIME messages"
16 "mime-support: its run-mailcap tool as alternative to metamail"
17 "openssh: for remote and server mode of operation")
18 install="${pkgname}.install"
19 source=("${url}/rel-${pkgver}/${pkgname}-package-${pkgver}.tgz")
20 md5sums=("5d31e99664831f0dfaaee190596e7c8b")
24 cd "${srcdir}/${pkgname}-${pkgver}"
26 # Remove PDF build crap
27 sed -i 's/binary topal.pdf/binary/' Makefile
29 # Build Topal and MIME-tool
33 # Install Topal binary, manual page and documentation
34 install -D -m755 "${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
35 install -D -m644 "${pkgname}.man" "${pkgdir}/usr/share/man/man1/${pkgname}.1"
36 # Replaced by some PDF crap which we will not build
37 #install -D -m644 README.txt "${pkgdir}/usr/share/doc/${pkgname}/README"
39 # Install Topal's version of MIME-tool and manual page
40 install -D -m755 MIME-tool/mime-tool "${pkgdir}/usr/bin/mime-tool"
41 install -D -m644 MIME-tool/mime-tool.man "${pkgdir}/usr/share/man/man1/mime-tool.1"