aboutsummaryrefslogtreecommitdiffstats
path: root/main/links/APKBUILD
blob: a2f1d380a2d6174b4e29d0ec6f81f5a1ce6bb68d (plain) (blame)
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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=links
pkgver=2.15
pkgrel=2
pkgdesc="Web browser running in both graphics and text mode"
url="http://atrey.karlin.mff.cuni.cz/~clock/twibright/links"
arch="all"
options="!check"  # No test suite.
license="GPL-2.0-or-later"
subpackages="$pkgname-doc"
depends=""
makedepends="bzip2-dev openssl-dev zlib-dev"
source="http://$pkgname.twibright.com/download/$pkgname-$pkgver.tar.bz2"

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

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}

sha512sums="11e66fec57a7b33be0b9d9c5e51e042cde92536b132c5484eb6cc8285b6f0a28b023d45a03e5a44810beb8d4279f6f6c8c9e694f10e4eccacd3dbe9ee7108706  links-2.15.tar.bz2"