blob: f3b05b2a6526caaa8bf94b37103c8fbfc30b4a73 (
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
|
# Contributor: Kiyoshi Aman <kiyoshi.aman@gmail.com>
# Maintainer: Kiyoshi Aman <kiyoshi.aman@gmail.com>
pkgname=lynx
pkgver=2.8.8_p2
pkgrel=0
_v=${pkgver%_*}
_d=${_v//./-}
_ver=${pkgver/_p/rel.}
pkgdesc="Cross-platform text-based browser"
url="http://lynx.isc.org"
arch="all"
license="GPL"
depends=
makedepends="openssl-dev gettext zlib-dev glib-dev perl ncurses-dev"
install=""
subpackages="$pkgname-doc"
source="http://lynx.isc.org/lynx${_v}/lynx${_ver}.tar.bz2"
_builddir="$srcdir/${pkgname}${_d}"
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
|| return 1
make helpdir=/usr/share/doc/lynx/help \
docdir=/usr/share/doc/lynx || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install install-help install-doc \
helpdir=/usr/share/doc/lynx/help \
docdir=/usr/share/doc/lynx || return 1
}
md5sums="b231c2aa34dfe7ca25681ef4e55ee7e8 lynx2.8.8rel.2.tar.bz2"
sha256sums="6980e75cf0d677fd52c116e2e0dfd3884e360970c88c8356a114338500d5bee7 lynx2.8.8rel.2.tar.bz2"
sha512sums="a475fb7b79641ddd7c20861e16d3d71ccb1a5ae33247cce0b9e73690dd664ebf129964c026bc33b0f082a7585e5a6acae9afc9a65f308e19b49fa0a8bebc0362 lynx2.8.8rel.2.tar.bz2"
|