summaryrefslogtreecommitdiffstats
path: root/main/links/APKBUILD
blob: 93e1f615de1ec348939680215c5ecdabf5021ce7 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=links
pkgver=2.2
pkgrel=3
pkgdesc="A text WWW browser, similar to Lynx"
url="http://atrey.karlin.mff.cuni.cz/~clock/twibright/links/"
license="GPL"
subpackages="$pkgname-doc"
# the bzip2 lib is linked static so we dont need in depends
depends="zlib openssl"
makedepends="pkgconfig zlib-dev openssl-dev bzip2-dev"
source="http://$pkgname.twibright.com/download/$pkgname-$pkgver.tar.bz2"

build () {
	cd "$srcdir"/$pkgname-$pkgver
	./configure --prefix=/usr \
		--mandir=/usr/share/man \
		--enable-javascript \
		--disable-graphics \
		--without-x \
		--disable-nls || return 1
	make || return 1
	make DESTDIR="$pkgdir" install || return 1
}
md5sums="bf5b20529a2a811701c5af52b28ebdd4  links-2.2.tar.bz2"