blob: a39228205b97f60a813a44e61d98f4f52a135e21 (
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
52
53
54
55
56
57
58
59
60
61
62
|
# Contributor: wakeup <wakeup@erehwon.de>
# Maintainer: aksr <aksr at t-com dot me>
pkgname=retawq
pkgver=0.2.6c
pkgrel=3
epoch=
pkgdesc="An interactive, multi-threaded network client for text terminals."
arch=('i686' 'x86_64')
url="http://retawq.sourceforge.net/"
license=('GPL')
groups=()
depends=('glibc' 'ncurses' 'openssl')
makedepends=()
checkdepends=()
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz)
noextract=()
md5sums=('ee60188bea597680bd39e435a8c73ff9')
sha1sums=('ac99979e99ae3b3edba547dd23d54c8f5fb3c6f5')
sha256sums=('a42e82494f00e054c2de1b065bbc8fb439d93eb69f9b97cc4868e71e48a9eae0')
prepare() {
cd "$srcdir/$pkgname-$pkgver"
# compile openssl with HAVE_RAND_EG (instead of OPENSSL_NO_EGD)
# or remove the following line (the resulting random number
# sequences at runtime may be of lower quality):
sed -i '/RAND_egd/d' resource.c
}
build() {
cd "$srcdir/$pkgname-$pkgver"
./configure --path-prefix=$pkgdir/usr \
--path-doc=$pkgdir/usr/share/doc/retawq \
--path-man=$pkgdir/usr/share/man \
--set-tg=ncurses \
--enable-textmodemouse \
--enable-i18n \
--enable-news \
--enable-cookies \
--enable-ipv6 \
--disable-local-cgi \
--set-tls=2 \
--set-execext=1 \
--set-ced=1 \
--set-threading=1
## built-in run-time configuration file [DISABLED]
## --enable-birtcfg
make
}
package() {
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir/" install
}
|