PKGBUILDs/extra/w3m/PKGBUILD

26 lines
937 B
Bash
Raw Normal View History

2009-10-10 02:23:22 +00:00
# $Id: PKGBUILD 53937 2009-10-04 02:18:07Z eric $
# Maintainer: dorphell <dorphell@archlinux.org>
pkgname=w3m
pkgver=0.5.2
pkgrel=4
pkgdesc="A pager/text-based WWW browser"
arch=('i686' 'x86_64')
url="http://w3m.sourceforge.net/"
license=('custom')
depends=('openssl>=0.9.8e' 'gc>=7.0' 'ncurses' 'zlib')
makedepends=('imlib2')
optdepends=('imlib2: for graphics support')
source=(http://downloads.sourceforge.net/sourceforge/w3m/$pkgname-$pkgver.tar.gz)
md5sums=('ba06992d3207666ed1bf2dcf7c72bf58')
sha1sums=('484522547ae6dbb342d3858a2a53a65451e273f9')
build() {
cd "$srcdir/$pkgname-$pkgver"
./configure --prefix=/usr --libexecdir=/usr/lib --enable-ansi-color \
--disable-mouse --disable-w3mmailer --enable-image=x11,fb \
--with-imagelib=imlib2 --with-termlib=ncurses || return 1
make || return 1
make DESTDIR="${pkgdir}" install || return 1
install -Dm644 doc/README "${pkgdir}/usr/share/licenses/$pkgname/README"
}