summaryrefslogtreecommitdiff
path: root/community/slrn/PKGBUILD
blob: 9daf9d9680af479b5298d7b4e396939f07b1acfb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# $Id: PKGBUILD 65449 2012-02-21 05:51:03Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Grigorios Bouzakis <grbzks[at]gmail[dot]com>

pkgname=slrn
pkgver=0.9.9p1
pkgrel=7
pkgdesc="An open source text-based news client"
arch=('i686' 'x86_64')
url="http://www.slrn.org/"
license=('GPL')
depends=('openssl' 'slang')
makedepends=('uudeview')
optdepends=('metamail')
options=('!makeflags' 'docs' 'zipman')
backup=(etc/slrnrc)
source=(http://downloads.sourceforge.net/slrn/$pkgname-$pkgver.tar.gz)
md5sums=('6cc8ac6baaff7cc2a8b78f7fbbe3187f')

build() {
  cd $srcdir/$pkgname-$pkgver

  ./configure --prefix=/usr --sysconfdir=/etc \
	--enable-setgid-code \
	--with-slrnpull --with-ssl --with-uu \
	--with-uulib=/usr/lib/uudeview \
	--with-uuinc=/usr/include/uudeview \
	--enable-spoilers

  make
  make DESTDIR=$pkgdir install

  install -D -m644 doc/slrn.rc $pkgdir/etc/slrnrc
}