summaryrefslogtreecommitdiff
path: root/community/elinks/PKGBUILD
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
commit415856bdd4f48ab4f2732996f0bae58595092bbe (patch)
treeede2018b591f6dfb477fe9341ba17b9bc000fab9 /community/elinks/PKGBUILD
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community/elinks/PKGBUILD')
-rw-r--r--community/elinks/PKGBUILD38
1 files changed, 38 insertions, 0 deletions
diff --git a/community/elinks/PKGBUILD b/community/elinks/PKGBUILD
new file mode 100644
index 000000000..3754bea1b
--- /dev/null
+++ b/community/elinks/PKGBUILD
@@ -0,0 +1,38 @@
+# $Id: PKGBUILD 40826 2011-02-28 13:59:43Z spupykin $
+# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
+# Maintainer: Andrea Scarpino <andrea@archlinux.org>
+# Contributor: damir <damir@archlinux.org>
+# Contributor: Ben <contrasutra@myrealbox.com>
+
+pkgname=elinks
+pkgver=0.13
+pkgrel=4
+pkgdesc="An advanced and well-established feature-rich text mode web browser."
+arch=("i686" "x86_64")
+url="http://elinks.or.cz"
+license=('GPL')
+depends=('bzip2' 'expat>=2.0' 'gpm>=1.20.4' 'openssl' 'lua>=5.1.1' 'libidn' 'spidermonkey>=1.7.0'
+ 'gc' 'tre' 'smbclient')
+_commit="dfc666dd754491a9c986fbd19179b354acde30b9"
+#source=("elinks-$pkgver-${_commit}.tar.gz::http://repo.or.cz/w/elinks.git/snapshot/${_commit}.tar.gz"
+source=("http://arch.p5n.pp.ru/~sergej/dl/elinks-$pkgver-${_commit}.tar.gz"
+ "${pkgname}.desktop")
+md5sums=('c41d66285654d72c197a99973393bf06'
+ 'ef70f6bb7457799a979fb201615369e6')
+
+build() {
+ cd elinks || cd `find $srcdir -maxdepth 1 -type d -name elinks-$pkgver\*`
+
+ [ -x configure ] || sh autogen.sh
+ ./configure --prefix=/usr --mandir=/usr/share/man \
+ --sysconfdir=/etc \
+ --enable-smb --without-x --enable-cgi \
+ --enable-leds --enable-256-colors --enable-html-highlight \
+ --with-zlib
+ make
+ make DESTDIR=${pkgdir} install
+ rm -f ${pkgdir}/usr/share/locale/locale.alias
+
+ install -D -m644 ${srcdir}/${pkgname}.desktop \
+ ${pkgdir}/usr/share/applications/${pkgname}.desktop
+}