diff options
author | Adrian Perez de Castro | 2018-06-30 18:38:57 +0300 |
---|---|---|
committer | Adrian Perez de Castro | 2018-06-30 18:38:57 +0300 |
commit | 138765d42f035fdeed61be766aea8eb45d0dab2b (patch) | |
tree | 3d4fdf04b21d543a3e4c3d2695ce397e313745a3 | |
parent | cab494c80c986ee8563e58a8188539847424839e (diff) | |
download | aur-138765d42f035fdeed61be766aea8eb45d0dab2b.tar.gz |
Install Vim support files in a standard location
This makes Vim/NeoVim automatically pick the files using their
default runtime paths. Also, remove the .install file which
printed the alternate (now unused) location during installation.
-rw-r--r-- | .SRCINFO | 3 | ||||
-rw-r--r-- | PKGBUILD | 11 | ||||
-rw-r--r-- | myrddin.install | 3 |
3 files changed, 6 insertions, 11 deletions
@@ -1,9 +1,8 @@ pkgbase = myrddin pkgdesc = Compiler and tools for the Myrddin programming language. pkgver = 0.3.0 - pkgrel = 1 + pkgrel = 2 url = https://myrlang.org/ - install = myrddin.install arch = i686 arch = x86_64 license = MIT @@ -1,16 +1,15 @@ # Maintainer: Adrián Pérez de Castro <aperez@igalia.com> -pkgname='myrddin' -pkgver='0.3.0' -pkgrel='1' +pkgname=myrddin +pkgver=0.3.0 +pkgrel=2 pkgdesc='Compiler and tools for the Myrddin programming language.' -arch=('i686' 'x86_64') +arch=(i686 x86_64) conflicts=('myrddin-git') license=('MIT') depends=('glibc') url='https://myrlang.org/' source=("${url}/releases/${pkgname}-${pkgver}.tar.xz") sha512sums=('5840d097c8365ebac8af8661d1db253dd91a092c82300e559d83d57e75c51c941c72c8d537eb64e1cfbc1b0fa233db068486711c06af289061710ff4c0f3bef0') -install=myrddin.install build() { cd mc @@ -31,6 +30,6 @@ package() { cd support/vim/ for dir in *; do - install -t "${pkgdir}/usr/share/${pkgname}/vim/${dir}" -Dm644 "${dir}"/*.vim + install -t "${pkgdir}/usr/share/vim/vimfiles/${dir}" -Dm644 "${dir}"/*.vim done } diff --git a/myrddin.install b/myrddin.install deleted file mode 100644 index a41a12657f91..000000000000 --- a/myrddin.install +++ /dev/null @@ -1,3 +0,0 @@ -post_install() { - echo "NOTE: vim support files installed to /usr/share/myrddin/vim" -} |