aboutsummaryrefslogtreecommitdiffstats
path: root/testing/slrn/APKBUILD
blob: b4917df7c8709d8b4a948c875a18f3754cbc00e7 (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
# Maintainer: Steffen Lange <steffen@stelas.de>
pkgname=slrn
pkgver=1.0.2
pkgrel=1
pkgdesc="An open source text-based news client"
url="http://www.slrn.org/"
arch="all"
license="GPL"
depends_dev=""
makedepends="$depends_dev libressl-dev slang-dev ncurses-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 || return 1
}

package() {
  cd "$srcdir/$pkgname-$pkgver"
  make -j1 DESTDIR="$pkgdir" install || return 1
  install -Dm644 doc/slrn.rc "$pkgdir"/etc/slrnrc
}

md5sums="cd21aa0f5ec9c2ec1a26e5f1322f6422  slrn-1.0.2.tar.gz"