aboutsummaryrefslogtreecommitdiffstats
path: root/testing/slrn/APKBUILD
blob: 2696159267f4477b816f8597aa2f2dd3d313b203 (plain) (blame)
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.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
}

sha512sums="11cef2dfe41f441af15acc22fb675cf607e932f0dd6d4a998e51ecda05c9a50d7abf10a3e693ffc857ad77e09634f460404e4d5b289169e7bbffdaf5d6d565a3  slrn-1.0.3a.tar.bz2"