aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorSteffen Lange <steffen@stelas.de>2016-03-12 17:39:39 +0100
committerNatanael Copa <ncopa@alpinelinux.org>2016-03-23 10:29:00 +0000
commit8621da1c369a1ba8d36defb500f1b1f6b87f1a6f (patch)
tree80b9b28efe64409aac7cd5a343486d218908648f /testing
parentf02e2499f01ef93bfd7c2911090282824cf4da67 (diff)
downloadaports-8621da1c369a1ba8d36defb500f1b1f6b87f1a6f.tar.bz2
aports-8621da1c369a1ba8d36defb500f1b1f6b87f1a6f.tar.xz
testing/slrn: new aport
http://www.slrn.org/ An open source text-based news client
Diffstat (limited to 'testing')
-rw-r--r--testing/slrn/APKBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/testing/slrn/APKBUILD b/testing/slrn/APKBUILD
new file mode 100644
index 0000000000..d77f41a848
--- /dev/null
+++ b/testing/slrn/APKBUILD
@@ -0,0 +1,30 @@
+# Maintainer: Steffen Lange <steffen@stelas.de>
+pkgname=slrn
+pkgver=1.0.2
+pkgrel=0
+pkgdesc="An open source text-based news client"
+url="http://www.slrn.org/"
+arch="x86 x86_64"
+license="GPL"
+depends_dev="openssl-dev slang-dev"
+makedepends="$depends_dev"
+subpackages="$pkgname-doc"
+source="http://jedsoft.org/releases/slrn/$pkgname-$pkgver.tar.gz"
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ ./configure --prefix=/usr --sysconfdir=/etc \
+ --enable-setgid-code \
+ --with-slrnpull --with-ssl \
+ --enable-spoilers || return 1
+ make -j1 || return 1
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make -j1 DESTDIR="$pkgdir" install || return 1
+ install -Dm644 doc/slrn.rc "$pkgdir"/etc/slrnrc
+ gzip -9 "$pkgdir"/usr/share/man/man1/*.1
+}
+
+md5sums="cd21aa0f5ec9c2ec1a26e5f1322f6422 slrn-1.0.2.tar.gz"