summaryrefslogtreecommitdiffstats
path: root/abs
diff options
context:
space:
mode:
authorCecil <knoppmyth@gmail.com>2011-07-05 05:43:45 (GMT)
committerCecil <knoppmyth@gmail.com>2011-07-05 05:43:45 (GMT)
commit9b39e736620630629ba5073427d0ca5d6848f988 (patch)
treea28f0b017147a4950804382decb2d8e305f60486 /abs
parentb2f076a7d43d20aec231b2ea05f88d565f1fc360 (diff)
downloadlinhes_pkgbuild-9b39e736620630629ba5073427d0ca5d6848f988.zip
linhes_pkgbuild-9b39e736620630629ba5073427d0ca5d6848f988.tar.gz
linhes_pkgbuild-9b39e736620630629ba5073427d0ca5d6848f988.tar.bz2
lynx:Bumped to latest.
Diffstat (limited to 'abs')
-rw-r--r--abs/extra/lynx/PKGBUILD37
1 files changed, 26 insertions, 11 deletions
diff --git a/abs/extra/lynx/PKGBUILD b/abs/extra/lynx/PKGBUILD
index 326e3ee..c268b34 100644
--- a/abs/extra/lynx/PKGBUILD
+++ b/abs/extra/lynx/PKGBUILD
@@ -1,23 +1,38 @@
-# $Id: PKGBUILD 9279 2008-08-17 05:59:10Z allan $
-# Maintainer: dorphell <dorphell@archlinux.org>
+# $Id: PKGBUILD 90160 2010-09-08 14:58:03Z andrea $
+# Maintainer:
+# Contributor: Douglas Soares de Andrade <douglas@archlinux.org>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
+
pkgname=lynx
-pkgver=2.8.6
-pkgrel=2
+pkgver=2.8.7
+_pkgver=2-8-7
+pkgrel=3
pkgdesc="A text browser for the World Wide Web"
url="http://lynx.isc.org/"
arch=(i686 x86_64)
license=('GPL')
depends=('ncurses' 'openssl')
-source=(http://lynx.isc.org/release/${pkgname}${pkgver}.tar.gz)
-url="http://lynx.isc.org"
backup=('etc/lynx.cfg')
-md5sums=('c1346198ae99302cc26763d89f89a239')
+source=("http://lynx.isc.org/release/${pkgname}${pkgver}.tar.gz")
+md5sums=('e36d70f3f09b2d502055ca67f09e363c')
build() {
- cd $startdir/src/${pkgname}2-8-6
- ./configure --prefix=/usr --sysconfdir=/etc --with-ssl --enable-nls \
+ cd ${srcdir}/${pkgname}${_pkgver}
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --with-ssl \
+ --enable-nls \
--mandir=/usr/share/man
- make || return 1
- make DESTDIR=$startdir/pkg install
+ make
+}
+
+package() {
+ cd ${srcdir}/${pkgname}${_pkgver}
+ make DESTDIR=${pkgdir} install
+
+ # FS#20404 - points to local help
+ sed -i -e "s|^HELPFILE.*$|HELPFILE:file:///usr/share/doc/lynx/lynx_help/lynx_help_main.html|" ${pkgdir}/etc/lynx.cfg
+
+ install -d ${pkgdir}/usr/share/doc/lynx
+ cp -rf lynx_help ${pkgdir}/usr/share/doc/lynx
}