1 # Maintainer: Beej Jorgensen <beej@beej.us>
2 # Contributor: Beej Jorgensen <beej@beej.us>
7 pkgdesc="Text-based threaded Usenet newsreader"
9 url="http://trn.sourceforge.net/"
11 depends=('heimdal' 'ncurses')
12 makedepends=('patch' 'expect' 'bison')
13 optdepends=('aspell: spellcheck support'
14 'sendmail: (or any outgoing mailer) outgoing email support')
15 source=('http://downloads.sourceforge.net/trn/trn-4.0-test77.tar.gz'
16 'trn-4.0-test77-aur.patch' 'configbot')
17 md5sums=('e0680ae4e6062747f88ba982326ac4c0'
18 'ff8cb720292c477cc89a482f57c5b43d'
19 '71212d74def969dc4ef398258d72425f')
22 cd "$srcdir/trn-4.0-test77"
24 # fixes in include order to allow builds, and a fix to allow aspell
25 # to be used as the speller:
26 patch -Np1 < ${srcdir}/trn-4.0-test77-aur.patch
28 # the Configure script is very very interactive, so we
29 # let expect handle it. This expect script runs the
31 expect -f $srcdir/configbot || return 1
36 # install, forcing the paths to what was set in Configure:
38 rnbin=${pkgdir}/usr/bin \
39 rnlib=${pkgdir}/usr/lib/trn \
40 inewsbin=${pkgdir}/usr/bin \
41 mansrc=${pkgdir}/usr/share/man/man1 \
44 # custom license install
45 install -m644 -D LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE || return 1
48 # vim:set ts=2 sw=2 et: