aboutsummaryrefslogtreecommitdiffstats
path: root/main/links/APKBUILD
blob: feabd51690a3b30fef974b4d011f1f8d09d24f7c (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.13
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="af418c83909ee73c09b95470bda6e377  links-2.13.tar.bz2"
sha256sums="c252095334a3b199fa791c6f9a9affe2839a7fbd536685ab07851cb7efaa4405  links-2.13.tar.bz2"
sha512sums="e1de6f8dc5ed2419ff0c3b7efed0519f7562735b87c6d269c8fda9768ab65c5c96c197652269a1efdd09fa8be1c73ff8514d2bd3d2c4ff943034328f9d3e46ca  links-2.13.tar.bz2"