diff options
author | root <root@rshg054.dnsready.net> | 2012-02-06 23:14:50 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-02-06 23:14:50 +0000 |
commit | 1fa6edfba8d1e31ca1c0d59e8202cd3c62ccf393 (patch) | |
tree | 8d7ccc2dc9d08a4c3cde26aa01c887e9a0fc2fa1 /extra/w3m | |
parent | bdb5b3e66f6afa586ea147f69af5e4ba388f7615 (diff) |
Mon Feb 6 23:14:50 UTC 2012
Diffstat (limited to 'extra/w3m')
-rw-r--r-- | extra/w3m/PKGBUILD | 31 |
1 files changed, 18 insertions, 13 deletions
diff --git a/extra/w3m/PKGBUILD b/extra/w3m/PKGBUILD index 80e79e08b..6b6976e42 100644 --- a/extra/w3m/PKGBUILD +++ b/extra/w3m/PKGBUILD @@ -1,21 +1,25 @@ -# $Id: PKGBUILD 106210 2011-01-15 11:51:10Z bisson $ +# $Id: PKGBUILD 149052 2012-02-05 15:37:14Z bisson $ # Contributor: dorphell <dorphell@archlinux.org> +# Maintainer: Gaetan Bisson <bisson@archlinux.org> pkgname=w3m pkgver=0.5.3 -pkgrel=1 +pkgrel=2 pkgdesc='Text-based Web browser, as well as pager' -arch=('i686' 'x86_64') url='http://w3m.sourceforge.net/' license=('custom') -depends=('openssl' 'gc' 'ncurses' 'zlib') +arch=('i686' 'x86_64') makedepends=('imlib2') optdepends=('imlib2: for graphics support') -source=("http://downloads.sourceforge.net/sourceforge/w3m/$pkgname-$pkgver.tar.gz") +depends=('openssl' 'gc' 'ncurses') +source=("http://downloads.sourceforge.net/sourceforge/w3m/${pkgname}-${pkgver}.tar.gz") sha1sums=('444b6c8cf7094ee95f8e9de96b37f814b9d83237') build() { - cd "$srcdir/$pkgname-$pkgver" + cd "${srcdir}/${pkgname}-${pkgver}" + + sed 's/file_handle/file_handle_rofl/g' -i istream.* + ./configure \ --prefix=/usr \ --libexecdir=/usr/lib \ @@ -23,15 +27,16 @@ build() { --with-imagelib=imlib2 \ --with-termlib=ncurses \ --disable-w3mmailer \ - --disable-mouse + --disable-mouse \ + make } package() { - cd "$srcdir/$pkgname-$pkgver" - make DESTDIR="$pkgdir" install + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install - install -d "$pkgdir"/usr/share/{doc,licenses}/"$pkgname" - find doc/* | grep -v CVS | xargs -i install "{}" "$pkgdir/usr/share/doc/$pkgname/" - ln -s "../../doc/$pkgname/README" "$pkgdir/usr/share/licenses/$pkgname/" -}
\ No newline at end of file + install -d "${pkgdir}"/usr/share/{doc,licenses}/"${pkgname}" + find doc/* | grep -v CVS | xargs -i install "{}" "${pkgdir}/usr/share/doc/${pkgname}" + ln -s ../../doc/"${pkgname}"/README "${pkgdir}/usr/share/licenses/${pkgname}" +} |