void-packages/srcpkgs/t-prot/template
Đoàn Trần Công Danh f344b34a16 t-prot: ship license
2020-11-28 10:21:18 +07:00

22 lines
753 B
Bash

# Template file for 't-prot'
pkgname=t-prot
version=3.4
revision=3
depends="perl perl-Locale-gettext"
short_desc="TOFU protection - display filter for RFC822 messages"
maintainer="Orphaned <orphan@voidlinux.org>"
license="BSD-4-Clause"
homepage="http://www.escape.de/~tolot/mutt/"
distfiles="http://www.escape.de/~tolot/mutt/t-prot/downloads/${pkgname}-${version}.tar.gz"
checksum=39b7a5f0fefdea87885f3b6ab041e7148c600fb50017c3a283231f6dde5eca2b
do_install() {
vbin t-prot
vman t-prot.1
vmkdir usr/share/doc/${pkgname}/contrib
for i in mailcap.t-prot muttrc.t-prot nailrc.t-prot t-prot.sl; do
vinstall contrib/$i 644 usr/share/doc/${pkgname}/contrib
done
sed -n '/^Copyright/,/SUCH DAMAGE/{s/^[.]PP$//;p}' t-prot.1 >LICENSE
vlicense LICENSE
}