1 # Maintainer: Devin Cofer <ranguvar{AT]archlinux[DOT}us>
2 # Contributor: damir <damir@archlinux.org>
3 # Contributor: Ben <contrasutra@myrealbox.com>
9 pkgdesc="Text-mode web browser with tabs, MIME support, scripting, and other advanced features (Prerelease version)"
10 arch=('i686' 'x86_64')
11 url="http://elinks.or.cz/"
14 depends=('bzip2' 'expat>=2.0' 'gpm>=1.20.4' 'openssl' 'zlib' 'lua>=5.1.1' 'libidn' 'spidermonkey>=1.7.0' 'gnutls' 'python' 'perl' 'tre')
15 provides=("elinks=$pkgver")
16 conflicts=('elinks' 'elinks-git')
18 source=("http://elinks.or.cz/download/$_pkgname-$pkgver.tar.bz2"
20 sha256sums=('2d19547831098acff0c5f97f9fbc7912240f122961fd49fb8b76738417dd24d2'
21 '6ed19da65ebbe59c334e92c8a6e6b8449c328aab2a9f65c1b5dda3a246d635ab')
25 cd "$_pkgname-$pkgver"
27 ./configure --prefix=/usr --mandir=/usr/share/man --sysconfdir=/etc \
28 --disable-smb --without-x --enable-cgi --enable-leds --disable-256-colors \
29 --enable-html-highlight --disable-nntp --disable-true-color --disable-88-colors \
30 --disable-bittorrent --enable-fastmem --enable-exmode --without-lzma --with-perl --with-python \
31 --with-gnutls || return 1
35 cd "$_pkgname-$pkgver"
37 make DESTDIR="$pkgdir" install || return 1
38 rm -f "$pkgdir/usr/share/locale/locale.alias" || return 1
40 install -Dm644 "$srcdir/$pkgname.desktop" \
41 "$pkgdir/usr/share/applications/$pkgname.desktop" || return 1
42 install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING" || return 1