summaryrefslogtreecommitdiff
path: root/user/links/APKBUILD
blob: b942c40b0fcf22a3e356aefd7521fa788e01aa72 (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
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=links
pkgver=2.20.2
pkgrel=0
pkgdesc="Text Web browser, similar to Lynx"
url="http://links.twibright.com/"
arch="all"
options="!check"  # No test suite.
license="GPL-2.0-only"
depends=""
makedepends="bzip2-dev openssl-dev zlib-dev"
subpackages="$pkgname-doc"
source="http://$pkgname.twibright.com/download/$pkgname-$pkgver.tar.bz2"

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

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

sha512sums="82be459856f49f45c9b824589b78c0f58b039b09802e077420053e9449bc1ded272bb8ad57ea10522d8b3305ceb212a5dd08b01052538cd5b4f0447d0ba02152  links-2.20.2.tar.bz2"