[arch-commits] Commit in vim-latexsuite/trunk (PKGBUILD)

Lukas Fleischer lfleischer at archlinux.org
Sat Jun 20 14:35:44 UTC 2015


    Date: Saturday, June 20, 2015 @ 16:35:44
  Author: lfleischer
Revision: 135642

upgpkg: vim-latexsuite 20141116-1

Upstream update.

Modified:
  vim-latexsuite/trunk/PKGBUILD

----------+
 PKGBUILD |   24 +++++++++++-------------
 1 file changed, 11 insertions(+), 13 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-06-20 12:16:44 UTC (rev 135641)
+++ PKGBUILD	2015-06-20 14:35:44 UTC (rev 135642)
@@ -1,10 +1,12 @@
-# $Id$
 # Maintainer: Daniel Wallace <danielwallace at gtmanfred dot com>
+# Maintainer: Lukas Fleischer <lfleischer at archlinux dot org>
 # Contributor: Army
 
 pkgname=vim-latexsuite
-pkgver=20130126
-pkgrel=2
+_pkgname=vim-latex
+pkgver=20141116
+_pkgver="1.8.23-${pkgver}.812-gitd0f31c9"
+pkgrel=1
 pkgdesc="Tools to view, edit, and compile LaTeX documents within Vim."
 arch=('any')
 url="http://vim-latex.sourceforge.net"
@@ -12,20 +14,16 @@
 depends=('vim')
 optdepends=('python2' 'texlive-bin')
 groups=('vim-plugins')
-source=("https://sources.archlinux.org/other/community/$pkgname/$pkgname-$pkgver.tar.gz")
-md5sums=('3c6a49e8dd3b73bae73de7a4e839a125')
+source=("https://sourceforge.net/projects/${_pkgname}/files/snapshots/${_pkgname}-${_pkgver}.tar.gz")
+md5sums=('c7662fd5ccad9912655ca585626ed515')
 install=$pkgname.install
  
 build() {
-
-	cd "${srcdir}/$pkgname-$pkgver"
-
-    find . -type f -name *.py -exec sed -i 's:/usr/bin/python:&2:g' {} +
-
+	cd "${srcdir}/${_pkgname}-${_pkgver}"
+	find . -type f -name *.py -exec sed -i 's:/usr/bin/python:&2:g' {} +
 }
 
 package() {
-	cd "${srcdir}/$pkgname-$pkgver"
-
-    make DESTDIR="${pkgdir}" PREFIX='/usr' VIMDIR='/usr/share/vim/vimfiles' install
+	cd "${srcdir}/${_pkgname}-${_pkgver}"
+	make DESTDIR="${pkgdir}" PREFIX='/usr' VIMDIR='/usr/share/vim/vimfiles' install
 }



More information about the arch-commits mailing list