1 # Maintainer:yugrotavele <yugrotavele at archlinux dot us>
2 # Contributor:Juergen Graefe <jg72@arcor.de>
7 pkgdesc="A highly customizable text-based newsreader"
9 url="http://www.slrn.org/"
11 depends=('openssl' 'slang')
12 makedepends=('subversion' 'uudeview')
13 optdepends=('metamail')
14 options=('!makeflags' 'docs' 'zipman')
18 install=${pkgname}.install
20 _svntrunk=https://slrn.svn.sourceforge.net/svnroot/slrn/trunk
26 if [ -d $_svnmod/.svn ]; then
27 (cd $_svnmod && svn up -r $pkgver)
29 svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
32 msg "SVN checkout done or server timeout"
33 msg "Starting make..."
35 rm -rf "$srcdir/$_svnmod-build"
36 cp -r "$srcdir/$_svnmod" "$srcdir/$_svnmod-build"
37 cd "$srcdir/$_svnmod-build"
38 ./configure --prefix=/usr --sysconfdir=/etc \
39 --enable-setgid-code \
40 --with-slrnpull --with-ssl --with-uu \
41 --with-uulib=/usr/lib/uudeview \
42 --with-uuinc=/usr/include/uudeview \
48 cd "$srcdir/$_svnmod-build"
49 make DESTDIR="$pkgdir" install
50 install -Dm 755 contrib/cleanscore $pkgdir/usr/bin/cleanscore
51 install -Dm 644 doc/slrn.rc $pkgdir/etc/slrnrc