diff options
Diffstat (limited to 'community/elinks/PKGBUILD')
-rw-r--r-- | community/elinks/PKGBUILD | 41 |
1 files changed, 10 insertions, 31 deletions
diff --git a/community/elinks/PKGBUILD b/community/elinks/PKGBUILD index efb1ca34f..037b290e9 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") 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" } |