summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authormegadrivers2015-06-09 18:45:40 +0200
committermegadrivers2015-06-09 18:45:40 +0200
commit4d4053ad0c560462610dfccf9d79d100cb2763a3 (patch)
tree0800f7449076b658b636a6e47ab99ee972836272 /PKGBUILD
downloadaur-4d4053ad0c560462610dfccf9d79d100cb2763a3.tar.gz
Initial import
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD40
1 files changed, 40 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..19af19846ae
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,40 @@
+# Maintainer: megadriver <megadriver at gmx dot com>
+# Based on lynx from [extra]
+
+pkgname=lynx-current
+_basever=2.8.9
+pkgver=${_basever}dev.6
+pkgrel=1
+pkgdesc="A text browser for the World Wide Web (development version)"
+url="http://lynx.isc.org/"
+arch=('i686' 'x86_64')
+license=('GPL')
+depends=('ncurses' 'openssl')
+conflicts=('lynx')
+provides=('lynx')
+backup=('etc/lynx.cfg')
+source=("http://lynx.isc.org/current/lynx${pkgver}.tar.gz")
+md5sums=('52bcab0224ae22b8d425413a143f5e23')
+
+build() {
+ cd ${srcdir}/lynx${_basever//./-}
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --with-ssl=/usr \
+ --enable-nls \
+ --enable-ipv6 \
+ --enable-default-colors \
+ --mandir=/usr/share/man
+ make
+}
+
+package() {
+ cd ${srcdir}/lynx${_basever//./-}
+ 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
+}