blob: 463d0e6b4b250feaf3d54b0f74774a6e53592713 (
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
# Maintainer: aksr <aksr at t-com dot me>
pkgname=slrn-git
pkgver=1.0.1.r36.g4861cf1
pkgrel=1
epoch=
pkgdesc="An open source text-based news client."
arch=('i686' 'x86_64')
url="http://www.slrn.org/"
license=('GPL')
groups=()
depends=('openssl' 'slang')
makedepends=('git' 'uudeview')
optdepends=('metamail')
checkdepends=()
provides=('slrn')
conflicts=('slrn')
replaces=()
backup=()
options=('!makeflags' 'docs' 'zipman')
changelog=
install=
source=("$pkgname::git+git://git.jedsoft.org/git/slrn.git")
noextract=()
md5sums=('SKIP')
pkgver() {
cd "$srcdir/$pkgname"
git describe --tags | sed -E 's/^v//;s/([^-]*-g)/r\1/;s/-/./g'
}
build() {
cd "$srcdir/$pkgname"
./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 UUDEVIEW_LIB="/usr/lib/uudeview/*.o"
}
package() {
cd "$srcdir/$pkgname"
make DESTDIR="$pkgdir/" install
install -D -m644 doc/slrn.rc $pkgdir/etc/slrnrc
}
|