summaryrefslogtreecommitdiff
path: root/testing/links-graphics/APKBUILD
blob: b939b985d78700ffb6257ed9ccd535dd885641b9 (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
36
37
38
39
# Contributor: Jeremy O'Brien <neutral@fastmail.com>
# Maintainer: Jeremy O'Brien <neutral@fastmail.com>
pkgname=links-graphics
pkgver=2.20.1
pkgrel=3
pkgdesc="Web browser running in both graphics and text mode"
builddir="$srcdir"/links-$pkgver
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"
makedepends="bzip2-dev openssl-dev>3 zlib-dev libevent-dev zstd-dev xorg-server-dev jpeg-dev libpng-dev"
provides="links"
provider_priority=20
source="http://links.twibright.com/download/links-$pkgver.tar.bz2"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--mandir=/usr/share/man \
		--disable-javascript \
		--enable-graphics \
		--with-x \
		--x-includes=/usr/include/X11/ \
		--x-libraries=/usr/lib/xorg/ \
		--disable-nls
	make
}

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

sha512sums="
c7258e303a2012e9016385abd1e8882ffec47dd3baf479a54448742e41b03508d874387af6ea97c7ef9c4d37f2eecbe7bc0121d923df79b0f455f4f466747ca2  links-2.20.1.tar.bz2
"