blob: 714c2c18b9b0f883ea8d2aed5a5aede409a489c6 (
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
|
# $Id: PKGBUILD 197170 2013-10-23 13:51:58Z pierre $
# Maintainer:
# Contributor: Douglas Soares de Andrade <douglas@archlinux.org>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
pkgname=lynx
pkgver=2.8.7
pkgrel=7
pkgdesc="A text browser for the World Wide Web"
url="http://lynx.isc.org/"
arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
depends=('ncurses' 'openssl')
backup=('etc/lynx.cfg')
source=("http://lynx.isc.org/release/${pkgname}${pkgver}.tar.gz")
md5sums=('e36d70f3f09b2d502055ca67f09e363c')
build() {
cd ${srcdir}/${pkgname}${pkgver//./-}
./configure --prefix=/usr \
--sysconfdir=/etc \
--with-ssl=/usr \
--enable-nls \
--enable-ipv6 \
--mandir=/usr/share/man \
CFLAGS="$CFLAGS -DUSE_OPENSSL_INCL"
make
}
package() {
cd ${srcdir}/${pkgname}${pkgver//./-}
make DESTDIR=${pkgdir} install
# FS#20404 - points to local help
sed -i -e "s|^HELPFILE.*$|HELPFILE:file:///usr/share/doc/lynx/lynx_help/lynx_help_main.html|" ${pkgdir}/etc/lynx.cfg
install -d ${pkgdir}/usr/share/doc/lynx
cp -rf lynx_help ${pkgdir}/usr/share/doc/lynx
}
|