new blfs: www-client/links-2.30
This commit is contained in:
33
www-client/links-2.30.PKGBUILD
Normal file
33
www-client/links-2.30.PKGBUILD
Normal file
@@ -0,0 +1,33 @@
|
|||||||
|
pkgname=links
|
||||||
|
pkgver=2.30
|
||||||
|
pkgdesc='A text WWW browser, similar to Lynx'
|
||||||
|
arch=('x86_64')
|
||||||
|
homepage='http://links.twibright.com/'
|
||||||
|
license=('GPL')
|
||||||
|
depends=('bzip2' 'libevent' 'openssl' 'xz' 'zstd')
|
||||||
|
sources=("${pkgname}-${pkgver}.tar.bz2")
|
||||||
|
urls=("http://links.twibright.com/download/${sources[0]}")
|
||||||
|
md5sums=("dc56041551980c74dd354cd7c2882539")
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
tar -xf ${distdir}/${sources[0]} --strip-components=1
|
||||||
|
}
|
||||||
|
|
||||||
|
src_build() {
|
||||||
|
./configure --prefix=/usr \
|
||||||
|
--mandir=/usr/share/man \
|
||||||
|
--disable-javascript \
|
||||||
|
--disable-graphics \
|
||||||
|
--without-x \
|
||||||
|
--without-fb
|
||||||
|
make
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
make DESTDIR="${pkgdir}" install
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# vim:ft=sh syn=sh et sw=2:
|
||||||
Reference in New Issue
Block a user