[arch-commits] Commit in lynx/trunk (PKGBUILD)
Andrea Scarpino
andrea at archlinux.org
Wed Sep 8 14:58:04 UTC 2010
Date: Wednesday, September 8, 2010 @ 10:58:03
Author: andrea
Revision: 90160
upgpkg: lynx 2.8.7-3
add offline documentation (FS#20404) (FS#20405)
Modified:
lynx/trunk/PKGBUILD
----------+
PKGBUILD | 32 +++++++++++++++++++++++---------
1 file changed, 23 insertions(+), 9 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2010-09-08 14:23:16 UTC (rev 90159)
+++ PKGBUILD 2010-09-08 14:58:03 UTC (rev 90160)
@@ -1,24 +1,38 @@
# $Id$
-# Maintainer: Douglas Soares de Andrade <douglas at archlinux.org>
+# Maintainer:
+# Contributor: Douglas Soares de Andrade <douglas at archlinux.org>
# Contributor: Tom Newsom <Jeepster at gmx.co.uk>
pkgname=lynx
pkgver=2.8.7
-pkgrel=2
+_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')
+source=("http://lynx.isc.org/release/${pkgname}${pkgver}.tar.gz")
+md5sums=('e36d70f3f09b2d502055ca67f09e363c')
build() {
- cd $startdir/src/${pkgname}2-8-7
- ./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
}
-md5sums=('124253e635f7c76bdffc47b9d036c812')
+
+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
+}
More information about the arch-commits
mailing list