New package: tin-2.2.1

This commit is contained in:
allan 2015-06-25 12:42:34 +02:00
parent b32ad73deb
commit 9899322152

23
srcpkgs/tin/template Normal file
View file

@ -0,0 +1,23 @@
# Template file for 'tin'
pkgname=tin
version=2.2.1
revision=1
build_style=gnu-configure
configure_args="--enable-ipv6 --with-pcre=${XBPS_CROSS_BASE}/usr"
hostmakedepends="flex"
makedepends="ncurses-devel readline-devel pcre-devel"
short_desc="NNTP and spool based UseNet newsreader"
maintainer="allan <mail@may.mooo.com>"
license="BSD"
homepage="http://www.tin.org"
distfiles="ftp://ftp.tin.org/pub/news/clients/tin/v${version%.*}/tin-${version}.tar.xz"
checksum=a9968d4b43e2faa4ca1f27e5f2211fa261b2884846c909f59aa76cdaa955ddc7
post_install() {
# conflicts with mutt
rm -f ${DESTDIR}/usr/share/man/man5/{mmdf.5,mbox.5}
# missing license file
vmkdir usr/share/licenses/tin
sed -n 9,34p src/misc.c > ${DESTDIR}/usr/share/licenses/tin/LICENSE
}