summaryrefslogtreecommitdiff
path: root/community/elinks
diff options
context:
space:
mode:
authorNicolas Reynolds <fauno@kiwwwi.com.ar>2011-07-12 11:21:01 -0300
committerNicolas Reynolds <fauno@kiwwwi.com.ar>2011-07-12 11:21:01 -0300
commitb337b14a9cce5d126d55695c97698484ac52a8ea (patch)
tree8aa6281e14d6bd9b0876ae0e641d76de9e51cce0 /community/elinks
parent66873986693bc3c8812d12f3919f1977b9a30674 (diff)
parent079c689ef9b252fd82dbf9b182ec2517c48f8737 (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: community/conkeror-git/PKGBUILD community/spidermonkey/PKGBUILD core/gcc/PKGBUILD extra/file-roller/PKGBUILD extra/pixman/PKGBUILD extra/poppler/PKGBUILD extra/qtiplot/PKGBUILD extra/xulrunner/PKGBUILD extra/xulrunner/xulrunner-omnijar.patch kde-unstable/akonadi/PKGBUILD multilib-testing/lib32-mesa/PKGBUILD multilib/gcc-multilib/PKGBUILD testing/mesa/PKGBUILD
Diffstat (limited to 'community/elinks')
-rw-r--r--community/elinks/PKGBUILD41
1 files changed, 10 insertions, 31 deletions
diff --git a/community/elinks/PKGBUILD b/community/elinks/PKGBUILD
index d93e15ab6..864053c5d 100644
--- a/community/elinks/PKGBUILD
+++ b/community/elinks/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 47522 2011-05-23 18:32:02Z kkeen $
+# $Id: PKGBUILD 51048 2011-07-04 15:29:28Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
# Contributor: damir <damir@archlinux.org>
@@ -6,39 +6,19 @@
pkgname=elinks
pkgver=0.13
-_commit="fe83703714fd5e16401dcd152d9bdcec6036424d"
-pkgrel=5
+_commit="03c698e926d4421ba43d905b6d9fd7388b97352f"
+pkgrel=6
pkgdesc="An advanced and well-established feature-rich text mode web browser."
arch=("i686" "x86_64" 'mips64el')
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'
+depends=('bzip2' 'expat>=2.0' 'gpm>=1.20.4' 'openssl' 'lua>=5.1.1' 'libidn' 'js'
'gc' 'tre' 'smbclient')
-source=()
-md5sums=()
-
-__gitroot="http://elinks.cz/elinks.git"
-__gitname="elinks"
+source=("http://arch.p5n.pp.ru/~sergej/dl/elinks-$pkgver-${_commit}.tar.gz")
+md5sums=('85916038633d0eb4ed98c3f82ac0b405')
build() {
- cd "$srcdir"
- msg "Connecting to GIT server...."
-
- if [ -d $__gitname ] ; then
- cd $__gitname && git pull origin
- msg "The local files are updated."
- else
- git clone $__gitroot
- fi
-
- msg "GIT checkout done or server timeout"
- msg "Starting make..."
-
- rm -rf "$srcdir/$__gitname-build"
- git clone "$srcdir/$__gitname" "$srcdir/$__gitname-build"
- cd "$srcdir/$__gitname-build"
- git checkout "$_commit"
-
+ cd "$srcdir/elinks"
[ -x configure ] || sh autogen.sh
./configure --prefix=/usr --mandir=/usr/share/man \
--sysconfdir=/etc \
@@ -49,10 +29,9 @@ build() {
}
package() {
- cd "$srcdir/$__gitname-build"
+ cd "$srcdir/elinks"
make DESTDIR="$pkgdir" install
rm -f "$pkgdir/usr/share/locale/locale.alias"
-
- install -D -m644 "$srcdir/$__gitname-build/contrib/debian/$pkgname.desktop" \
- "$pkgdir/usr/share/applications/$pkgname.desktop"
+ install -D -m644 "contrib/debian/$pkgname.desktop" \
+ "$pkgdir/usr/share/applications/$pkgname.desktop"
}