PKGBUILDs/community/links-g/PKGBUILD
2009-10-09 21:15:33 -05:00

27 lines
964 B
Bash

# $Id: PKGBUILD 477 2009-08-01 07:52:14Z foutrelis $
# Maintainer: Mateusz Herych <heniekk@gmail.com>
# Maintainer: Alessio 'mOLOk' Bolognino <themolok@gmail.com>
pkgname=links-g
pkgver=2.2
pkgrel=3
pkgdesc="A text WWW browser, similar to Lynx, with framebuffer and X graphics enabled"
arch=('i686' 'x86_64')
url="http://links.twibright.com/"
license=('GPL')
conflicts=('links')
provides=('links')
depends=('gpm' 'libtiff' 'openssl' 'libpng' 'pcre' 'libx11' 'bzip2')
makedepends=('xorg-server')
optdepends=('xorg-server: for running Links in graphics mode')
source=(http://links.twibright.com/download/links-$pkgver.tar.bz2)
md5sums=('bf5b20529a2a811701c5af52b28ebdd4')
build() {
cd $startdir/src/links-$pkgver
cd "intl" && ./gen-intl && cd .. || return 1
./configure --prefix=/usr --mandir=/usr/share/man --enable-javascript --enable-graphics --with-x \
--with-fb --without-directfb
make || return 1
make DESTDIR=$startdir/pkg install
}