aboutsummaryrefslogtreecommitdiffstats
path: root/main/links/APKBUILD
blob: c4f4cb68b154ca3da92d1347234f20e0d0d157a4 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=links
pkgver=2.9
pkgrel=0
pkgdesc="A text WWW browser, similar to Lynx"
url="http://atrey.karlin.mff.cuni.cz/~clock/twibright/links/"
arch="all"
license="GPL"
subpackages="$pkgname-doc"
depends=
makedepends="zlib-dev openssl-dev bzip2-dev"
source="http://$pkgname.twibright.com/download/$pkgname-$pkgver.tar.bz2"

build () {
	cd "$srcdir"/$pkgname-$pkgver
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--mandir=/usr/share/man \
		--enable-javascript \
		--disable-graphics \
		--without-x \
		--disable-nls \
		|| return 1
	make || return 1
}

package() {
	cd "$srcdir"/$pkgname-$pkgver
	make DESTDIR="$pkgdir" install || return 1
}
md5sums="b0b1a0110d0845cc97da7f6f7c5e007c  links-2.9.tar.bz2"
sha256sums="4360ead54d5f41da16b2f4c0033317ca775f40c1e658a29e9e7f8ce4bc23878f  links-2.9.tar.bz2"
sha512sums="386f53e8a8eac78b5f1a85277d449f2cc23e96dbc505c776fa5123c3c4ee34916c9da867766849fb71ff7701df161bd1906a34468bd9c31183abdce1d03819a7  links-2.9.tar.bz2"