void-packages/srcpkgs/t-prot/template

26 lines
742 B
Bash

# Template file for 't-prot'
pkgname=t-prot
version=3.3
revision=1
maintainer="Dominik Honnef <dominik@honnef.co>"
license="BSD"
depends="perl-Getopt-Long?perl perl-Locale-gettext"
noarch=yes
homepage="http://www.escape.de/~tolot/mutt/"
short_desc="TOFU protection - display filter for RFC822 messages"
distfiles="http://www.escape.de/~tolot/mutt/t-prot/downloads/${pkgname}-${version}.tar.gz"
checksum=01d9b60ee7a1c52fa7acb8a5d3465339e75be2a42daa8e9eb847a23eb8d9f52d
do_install() {
vbin t-prot
vman t-prot.1
for i in ChangeLog README TODO; do
vdoc $i
done
vmkdir usr/share/doc/${pkgname}/contrib
for i in contrib/{mailcap.t-prot,muttrc.t-prot,nailrc.t-prot,t-prot.sl}; do
vinstall $i 644 usr/share/doc/${pkgname}/contrib
done
}