summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authoreolianoe2016-05-05 11:56:44 +0200
committereolianoe2016-05-05 11:56:44 +0200
commite14fd29a315f6a8d097a2b094981c04e472231c5 (patch)
treea22fc6555950b52cc07c056a14dcb949249c5c4d
parentb01c520a1a7dc1b515d536a1eb10bc316ae6a8c0 (diff)
downloadaur-vim-fortran.tar.gz
add version to the filename and variables
-rw-r--r--.SRCINFO7
-rw-r--r--.gitignore2
-rw-r--r--PKGBUILD13
3 files changed, 12 insertions, 10 deletions
diff --git a/.SRCINFO b/.SRCINFO
index d6f990cf969..9b14cf309a9 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,15 +1,16 @@
+# Generated by mksrcinfo v8
+# Thu May 5 09:56:39 UTC 2016
pkgbase = vim-fortran
pkgdesc = Additional indentation rules for Fortran 95 and Fortran 90
pkgver = 0.4
pkgrel = 2
url = http://www.vim.org/scripts/script.php?script_id=2299
install = vimdoc.install
- arch = i686
- arch = x86_64
+ arch = any
groups = vim-plugins
license = custom
depends = vim
- source = fortran.vim::http://www.vim.org/scripts/download_script.php?src_id=15717
+ source = fortran_0.4.vim::http://www.vim.org/scripts/download_script.php?src_id=15717
sha256sums = d3c67714ed9248397b513366126e1dc61f6bd2081c96849a8ea5f0a0282662f9
pkgname = vim-fortran
diff --git a/.gitignore b/.gitignore
index 7ca3f062f7c..f03065e3c85 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,5 +1,5 @@
*.gz
*.xz
-fortran.vim
+*.vim
/pkg
/src
diff --git a/PKGBUILD b/PKGBUILD
index e5b9df532f9..1b7b068f0ca 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,18 +1,19 @@
# Maintainer: eolianoe <eolianoe At GoogleMAIL DoT com>
# Maintainer: Laszlo Papp <djszapi @ gmail at com>
pkgname=vim-fortran
-_filename=fortran.vim
pkgver=0.4
-_scriptid=15717
+_filename=fortran_${pkgver}.vim
+_srcid=15717
+_scriptid=2299
pkgrel=2
pkgdesc="Additional indentation rules for Fortran 95 and Fortran 90"
-arch=(i686 x86_64)
-url="http://www.vim.org/scripts/script.php?script_id=2299"
+arch=('any')
+url="http://www.vim.org/scripts/script.php?script_id=${_scriptid}"
license=('custom')
depends=('vim')
groups=('vim-plugins')
install=vimdoc.install
-source=(${_filename}::http://www.vim.org/scripts/download_script.php?src_id=${_scriptid})
+source=(${_filename}::http://www.vim.org/scripts/download_script.php?src_id=${_srcid})
sha256sums=('d3c67714ed9248397b513366126e1dc61f6bd2081c96849a8ea5f0a0282662f9')
prepare(){
@@ -25,5 +26,5 @@ prepare(){
package(){
install -Dm755 "${srcdir}/${_filename}.new.new"\
- "${pkgdir}/usr/share/vim/vimfiles/after/indent/${_filename}"
+ "${pkgdir}/usr/share/vim/vimfiles/after/indent/fortran.vim"
}