blob: a1167caeb12b46a365e57e49b9cdf912333b0320 (
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=lynx
pkgver=2.9.0
pkgrel=0
pkgdesc="Cross-platform text-based browser"
url="https://lynx.invisible-island.net/"
arch="all"
license="GPL-2.0-only"
depends="gzip"
makedepends="glib-dev ncurses-dev openssl-dev perl utmps-dev zlib-dev"
subpackages="$pkgname-doc $pkgname-lang"
source="https://invisible-island.net/archives/lynx/tarballs/${pkgname}${pkgver}.tar.bz2"
builddir="$srcdir/${pkgname}${pkgver}"
build() {
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--localstatedir=/var \
--enable-ipv6 \
--enable-nls \
--with-screen=ncursesw \
--with-ssl
make helpdir=/usr/share/doc/lynx/help \
docdir=/usr/share/doc/lynx
}
check() {
./lynx -version
}
package() {
make DESTDIR="$pkgdir" install install-help install-doc \
helpdir=/usr/share/doc/lynx/help \
docdir=/usr/share/doc/lynx
}
sha512sums="4c716a246d80db0558dcdb6599bff9854a7356c43da94e0c854453e68b84e8de8a082c6c48e6329e8f4b6f70711ea41dad5a8f5669c782a8c9ce6351083b2df0 lynx2.9.0.tar.bz2"
|