aboutsummaryrefslogtreecommitdiffstats
path: root/main/links/APKBUILD
blob: 137ef48b6fd7bb85182d240ad8316c19f1a51e59 (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.12
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="5d763ab72dc57bbc310feb95679c9d14  links-2.12.tar.bz2"
sha256sums="98411811ded1e8028f5aed708dd7d8ec0ae63ce24c2991a0241a989b7d09d84e  links-2.12.tar.bz2"
sha512sums="cd41eac369a8da090c56fbec42016541204fa4e098c8693f5f7766ce6e108a0cda0b205d090d3a351db0a9d9483e9b9145763faa255f0a13873bcd0ef058d6b5  links-2.12.tar.bz2"