summaryrefslogtreecommitdiff
path: root/extra/w3m/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-01-15 00:06:27 -0800
committerroot <root@rshg054.dnsready.net>2013-01-15 00:06:27 -0800
commit733e4f771063834ef4d8f31af1dcac95d55e3c3e (patch)
tree578fc3d3adaff80532f1f0a5a0eced16ebf08e8a /extra/w3m/PKGBUILD
parenta69d072f5cde4b5a6bac62e6022a69d337925e45 (diff)
Tue Jan 15 00:06:26 PST 2013
Diffstat (limited to 'extra/w3m/PKGBUILD')
-rw-r--r--extra/w3m/PKGBUILD19
1 files changed, 12 insertions, 7 deletions
diff --git a/extra/w3m/PKGBUILD b/extra/w3m/PKGBUILD
index 438d25c4f..407b696dc 100644
--- a/extra/w3m/PKGBUILD
+++ b/extra/w3m/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 149346 2012-02-07 01:25:49Z bisson $
+# $Id: PKGBUILD 175136 2013-01-15 01:58:54Z bisson $
# Contributor: dorphell <dorphell@archlinux.org>
# Maintainer: Gaetan Bisson <bisson@archlinux.org>
pkgname=w3m
pkgver=0.5.3
-pkgrel=3
+pkgrel=4
pkgdesc='Text-based Web browser, as well as pager'
url='http://w3m.sourceforge.net/'
license=('custom')
@@ -13,15 +13,20 @@ makedepends=('imlib2')
optdepends=('imlib2: for graphics support')
depends=('openssl' 'gc' 'ncurses')
source=("http://downloads.sourceforge.net/sourceforge/w3m/${pkgname}-${pkgver}.tar.gz"
- 'https-segfault.patch')
+ 'file_handle.patch'
+ 'https.patch'
+ 'gc72.patch')
sha1sums=('444b6c8cf7094ee95f8e9de96b37f814b9d83237'
- '66affb2f695fe0bdde25cf774642bfd6a9404e88')
+ '457de43be7eabc652614461a7ab25e3ba76b2aff'
+ '66affb2f695fe0bdde25cf774642bfd6a9404e88'
+ '7baa06ca684fd140503a2adc65e2d606970c4662')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
- sed 's/file_handle/file_handle_rofl/g' -i istream.*
- patch -p1 -i ../https-segfault.patch
+ patch -p1 -i ../file_handle.patch
+ patch -p1 -i ../https.patch
+ patch -p1 -i ../gc72.patch
./configure \
--prefix=/usr \
@@ -40,6 +45,6 @@ package() {
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}"
+ find doc/* | grep -v CVS | xargs -i install -m644 "{}" "${pkgdir}/usr/share/doc/${pkgname}"
ln -s ../../doc/"${pkgname}"/README "${pkgdir}/usr/share/licenses/${pkgname}"
}