# Maintainer: Steffen Lange pkgname=slrn pkgver=1.0.3 pkgrel=4 pkgdesc="An open source text-based news client" url="http://www.slrn.org/" arch="all" license="GPL" depends_dev="" makedepends="$depends_dev openssl-dev slang-dev ncurses-dev" subpackages="$pkgname-doc" source="http://jedsoft.org/releases/slrn/$pkgname-${pkgver}a.tar.bz2" build() { cd "$srcdir/$pkgname-$pkgver" ./configure --prefix=/usr --sysconfdir=/etc \ --enable-setgid-code \ --with-slrnpull --with-ssl \ --enable-spoilers || return 1 make || return 1 } package() { cd "$srcdir/$pkgname-$pkgver" make -j1 DESTDIR="$pkgdir" install || return 1 install -Dm644 doc/slrn.rc "$pkgdir"/etc/slrnrc } sha512sums="11cef2dfe41f441af15acc22fb675cf607e932f0dd6d4a998e51ecda05c9a50d7abf10a3e693ffc857ad77e09634f460404e4d5b289169e7bbffdaf5d6d565a3 slrn-1.0.3a.tar.bz2"