summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Gläßle2017-03-14 15:25:52 +0100
committerThomas Gläßle2017-03-14 15:34:54 +0100
commitd06e1fd443003d0bc2eb5245a30e70cd53861e46 (patch)
treeb25ed53047930518d929c044c5964233273767cd
parentf5d9c1fd957dd4741e649949f47d3be458d73d23 (diff)
downloadaur-d06e1fd443003d0bc2eb5245a30e70cd53861e46.tar.gz
Patch madx.vim file locally
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD8
-rw-r--r--madx_vim.diff21
3 files changed, 30 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index d271bdae8de..67afa6b4039 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,9 @@
# Generated by mksrcinfo v8
-# Mon Jan 23 14:53:37 UTC 2017
+# Tue Mar 14 14:25:27 UTC 2017
pkgbase = madx-dev
pkgdesc = Accelerator Optics simulation code, latest development release
pkgver = 5.02.13
- pkgrel = 1
+ pkgrel = 2
url = http://cern.ch/mad
arch = x86_64
license = custom
@@ -14,7 +14,9 @@ pkgbase = madx-dev
provides = madx
conflicts = madx-svn
source = http://madx.web.cern.ch/madx/releases/5.02.13/madx-src.tgz
+ source = madx_vim.diff
md5sums = 11307450b9a25a9d75c7bca42ae18c2c
+ md5sums = befa90472e7b5725406c1dab5811102d
pkgname = madx-dev
diff --git a/PKGBUILD b/PKGBUILD
index 32278553527..abf44e3f6f4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=madx-dev
pkgver=5.02.13
-pkgrel=1
+pkgrel=2
pkgdesc="Accelerator Optics simulation code, latest development release"
url="http://cern.ch/mad"
license=("custom")
@@ -16,12 +16,14 @@ arch=('x86_64')
tarball=madx-src.tgz
extract=madx-${pkgver}
-source=("http://madx.web.cern.ch/madx/releases/${pkgver}/${tarball}")
-md5sums=('11307450b9a25a9d75c7bca42ae18c2c')
+source=("http://madx.web.cern.ch/madx/releases/${pkgver}/${tarball}" madx_vim.diff)
+md5sums=('11307450b9a25a9d75c7bca42ae18c2c'
+ 'befa90472e7b5725406c1dab5811102d')
prepare() {
cd ${srcdir}/${extract}
find . -name '._*' -print0 | xargs -0 -r rm
+ patch -p0 < ${srcdir}/madx_vim.diff
mkdir -p ${srcdir}/build
cd ${srcdir}/build
diff --git a/madx_vim.diff b/madx_vim.diff
new file mode 100644
index 00000000000..53284c77c95
--- /dev/null
+++ b/madx_vim.diff
@@ -0,0 +1,21 @@
+--- syntax/vim/madx.vim 2013-04-30 14:30:21.000000000 +0200
++++ syntax/vim/madx.vim 2016-10-07 14:14:39.414427774 +0200
+@@ -9,11 +9,11 @@
+ " au BufNewFile,BufRead *.madx,*.seq,*.str,*.mask setf madx
+ "
+
+-set ignorecase
++setlocal ignorecase
+
+ syntax clear
+ syntax case ignore
+-set iskeyword=a-z,A-Z,48-57,_,.
++setlocal iskeyword=a-z,A-Z,48-57,_,.
+
+
+
+@@ -127,4 +127,3 @@
+
+ highlight link madxOutput Comment
+ highlight link madxOutput2 Comment
+-