diff --git a/srcpkgs/t-prot/template b/srcpkgs/t-prot/template index 96c7b10b41f..05ee91f367c 100644 --- a/srcpkgs/t-prot/template +++ b/srcpkgs/t-prot/template @@ -1,25 +1,22 @@ # Template file for 't-prot' pkgname=t-prot version=3.4 -revision=2 -maintainer="Orphaned " -license="BSD" +revision=3 depends="perl perl-Locale-gettext" -archs=noarch -homepage="http://www.escape.de/~tolot/mutt/" short_desc="TOFU protection - display filter for RFC822 messages" +maintainer="Orphaned " +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 - 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 + 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 } -