1 # Maintainer: baskerville <nihilhill@gmail.com>
6 pkgdesc="An open source text-based news client"
8 url="http://www.slrn.org/"
10 depends=('slang' 'uudeview')
16 _gitroot='git://git.jedsoft.org/git/slrn.git'
21 msg "Connecting to GIT server...."
23 if [ -d $_gitname ] ; then
24 cd $_gitname && git pull origin
25 msg "The local files are updated."
27 git clone $_gitroot $_gitname
30 msg "GIT checkout done or server timeout"
31 msg "Starting make..."
33 rm -rf "$srcdir/$_gitname-build"
34 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
35 cd "$srcdir/$_gitname-build"
37 ./configure --prefix=/usr --sysconfdir=/etc \
38 --enable-setgid-code \
39 --with-slrnpull --with-ssl --with-uu \
40 --with-uulib=/usr/lib/uudeview \
41 --with-uuinc=/usr/include/uudeview \
47 cd "$srcdir/$_gitname-build"
48 make DESTDIR="$pkgdir" install
49 install -Dm 755 contrib/cleanscore $pkgdir/usr/bin/cleanscore
50 install -Dm 644 doc/slrn.rc $pkgdir/etc/slrnrc