desktop/w3m/PKGBUILD

32 lines
1.1 KiB
Bash
Raw Normal View History

2010-08-08 05:20:34 +08:00
#
# Chakra Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=w3m
2011-01-24 21:50:46 +08:00
pkgver=0.5.3
pkgrel=1
2010-08-08 05:20:34 +08:00
pkgdesc="A pager/text-based WWW browser"
arch=('i686' 'x86_64')
url="http://w3m.sourceforge.net/"
license=('custom')
depends=('openssl' 'gc>=7.0' 'ncurses' 'zlib')
makedepends=('imlib2')
optdepends=('imlib2: for graphics support')
source=(http://downloads.sourceforge.net/sourceforge/w3m/$pkgname-$pkgver.tar.gz)
2011-01-24 21:50:46 +08:00
sha1sums=('444b6c8cf7094ee95f8e9de96b37f814b9d83237')
2010-08-08 05:20:34 +08:00
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"
}