summaryrefslogtreecommitdiff
path: root/user/links/APKBUILD
blob: b3ade3cb2294a41fd6174a6903cc7b3dba2817c7 (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.19
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="8716cea6feb5a02b59d7e2dd5bfd0af9b2ac2a4427c0f98a3c8a8eaabca31e7a96c16888c0de19976749485b3cdbf75cbff88a37cd3b58700c1f090acec328ea  links-2.19.tar.bz2"