1 # Contributor: dorphell <dorphell@archlinux.org>
7 pkgdesc="Curses based threaded NNTP and spool based UseNet newsreader"
9 url="http://www.tin.org"
11 depends=('dante' 'ncurses' 'libidn' 'gnupg' 'icu' 'ispell' 'perl')
12 source=("ftp://ftp.tin.org/pub/news/clients/tin/stable/$pkgname-$pkgver.tar.bz2"
14 md5sums=('e61837b8559e7cdbc35bc11f15c3b7ce'
15 '22de35b1bdc6f0df87c93ae794198b21')
18 cd $srcdir/$pkgname-$pkgver
19 ./configure --prefix=/usr --mandir=/usr/share/man --with-screen=ncurses --with-pcre=/usr \
20 --disable-prototypes --disable-echo --enable-ipv6 --with-gpg=/usr/bin/gpg \
21 --with-coffee --enable-nls --with-ispell=/usr/bin/ispell --with-socks --with-socks5
22 make build || return 1
27 cd $srcdir/$pkgname-$pkgver
28 make DESTDIR=$pkgdir install
29 rm -f $pkgdir/usr/share/man/man5/mbox.5
30 rm -f $pkgdir/usr/share/man/man5/mmdf.5
31 mv $pkgdir/usr/bin/url_handler.pl $pkgdir/usr/bin/tin_url_handler.pl
32 install -D -m644 $srcdir/LICENSE \
33 $pkgdir/usr/share/licenses/$pkgname/LICENSE