1 # Contributor: joyfulgirl <joyfulgirl@archlinux.us>
2 # Contributor: test1000 <kfs1@online.no>
6 pkgdesc="A featureful text mode web browser"
8 url="http://elinks.or.cz"
12 depends=('bzip2' 'gzip' 'expat' 'openssl'
13 'zlib' 'lua' 'libidn' 'tre'
16 optdepends=('gpm: console mouse support')
18 source=("elinks.desktop")
19 md5sums=('ef70f6bb7457799a979fb201615369e6')
21 _gitroot="git://repo.or.cz/elinks.git"
26 msg "Begin checkout..."
28 if [ -d $_gitname ]; then
29 cd $_gitname && git pull origin master
34 msg "Checkout complete or server timeout"
37 rm -rf ${srcdir}/${_gitname}-build
38 cp -a ${srcdir}/${_gitname} ${srcdir}/${_gitname}-build
39 cd ${srcdir}/${_gitname}-build
42 ./configure --prefix=/usr \
52 cd ${srcdir}/${_gitname}-build
53 make DESTDIR=${pkgdir} install
54 install -D -m644 ${srcdir}/elinks.desktop \
55 ${pkgdir}/usr/share/applications/elinks.desktop
56 # Prevent glibc conflicts
57 rm -f ${pkgdir}/usr/share/locale/locale.alias