aboutsummaryrefslogtreecommitdiffstats
path: root/testing/slrn/APKBUILD
blob: 440a1149471d328ccbb2c912bcf55b0b40856a2f (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
# Maintainer: Steffen Lange <steffen@stelas.de>
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
}

md5sums="a06e74f9fede1196c92479210519f77e  slrn-1.0.3a.tar.bz2"
sha256sums="3ba8a4d549201640f2b82d53fb1bec1250f908052a7983f0061c983c634c2dac  slrn-1.0.3a.tar.bz2"
sha512sums="11cef2dfe41f441af15acc22fb675cf607e932f0dd6d4a998e51ecda05c9a50d7abf10a3e693ffc857ad77e09634f460404e4d5b289169e7bbffdaf5d6d565a3  slrn-1.0.3a.tar.bz2"