summaryrefslogtreecommitdiff
path: root/community/slrn/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/slrn/PKGBUILD')
-rw-r--r--community/slrn/PKGBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/community/slrn/PKGBUILD b/community/slrn/PKGBUILD
new file mode 100644
index 000000000..598c62561
--- /dev/null
+++ b/community/slrn/PKGBUILD
@@ -0,0 +1,34 @@
+# $Id: PKGBUILD 81585 2012-12-24 15:02:37Z spupykin $
+# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
+# Contributor: Grigorios Bouzakis <grbzks[at]gmail[dot]com>
+
+pkgname=slrn
+pkgver=1.0.1
+pkgrel=1
+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=('232670ab76a045967b137e5124b3d681')
+
+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
+}