summaryrefslogblamecommitdiff
path: root/user/links/APKBUILD
blob: 572f9d97704a297d94002cad218ac0cdf0a75652 (plain) (tree)
1
2
3

                                                 
           




























                                                                        
                                                                                                                                                                 
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=links
pkgver=2.17
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 () {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--mandir=/usr/share/man \
		--disable-javascript \
		--disable-graphics \
		--without-x
	make -j1
}

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

sha512sums="871a3a2cbc210467f4ffd830ba2966f2ebc0ec9ed4a1de018d032cec4b550e58f6858875478647c627ec746bb76810a4b97603575f2d21b5ea650c612684c8d5  links-2.17.tar.bz2"