PKGBUILDs/core/links/PKGBUILD

25 lines
851 B
Bash
Raw Normal View History

2009-10-10 02:17:35 +00:00
# $Id: PKGBUILD 9076 2008-08-17 03:25:54Z allan $
# Maintainer: Eric Belanger <eric@archlinux.org>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
pkgname=links
pkgver=2.2
pkgrel=2
pkgdesc="A text WWW browser, similar to Lynx"
arch=('i686' 'x86_64')
url="http://atrey.karlin.mff.cuni.cz/~clock/twibright/links/"
license=('GPL')
depends=('bzip2' 'zlib' 'openssl' 'gpm>=1.20.4')
makedepends=('pkgconfig')
source=(http://links.twibright.com/download/${pkgname}-${pkgver}.tar.bz2)
md5sums=('bf5b20529a2a811701c5af52b28ebdd4')
sha1sums=('7588c151e98057f83a2e0b81b3f467e7eee9f824')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
cd "intl" && ./gen-intl && cd .. || return 1
./configure --prefix=/usr --mandir=/usr/share/man --enable-javascript --disable-graphics --without-x || return 1
make || return 1
make DESTDIR=${pkgdir} install || return 1
}