summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD13
1 files changed, 7 insertions, 6 deletions
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"
}