summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authoranthraxx2016-09-21 17:32:08 +0200
committeranthraxx2016-09-21 17:32:08 +0200
commit32609de9c608aea6908ba4940dd4dc120649128d (patch)
treedce716678f73465cc2cb4738c6661c218943b20e /PKGBUILD
parentd0ef0a1302e13470023ca42e353fd6b30f98ad51 (diff)
downloadaur-32609de9c608aea6908ba4940dd4dc120649128d.tar.gz
upgpkg: vundle 0.10.2-2 (drop legacy vimrc, example via README)
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD28
1 files changed, 15 insertions, 13 deletions
diff --git a/PKGBUILD b/PKGBUILD
index a8357b2ddea..67b211ca4c0 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,30 +1,32 @@
-# Maintainer: Levente Polyak <levente[at]leventepolyak[dot]net>
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
pkgname=vundle
_gitname=Vundle.vim
pkgver=0.10.2
-pkgrel=1
-pkgdesc="Plug-in manager for Vim"
-url="https://github.com/gmarik/Vundle.vim"
+pkgrel=2
+pkgdesc='Plug-in manager for Vim'
+url='https://github.com/VundleVim/Vundle.vim'
arch=('any')
license=('MIT')
depends=('vim>=7.0')
install=vundle.install
-source=(${pkgname}-${pkgver}.tar.gz::https://github.com/gmarik/Vundle.vim/archive/v${pkgver}.tar.gz
- vundle.vimrc)
-sha512sums=('SKIP'
- '73329b4a1f302c684a6c203faac11ca040fd549ed4b4a5b09f4d94c53315748478e3b079bd4d2aed648e4eece2e62fd99d21ffcd34eb966e9e840ef73647c5fb')
+source=(${pkgname}-${pkgver}.tar.gz::https://github.com/gmarik/Vundle.vim/archive/v${pkgver}.tar.gz)
+sha512sums=('4a06e6600956cccb4db2852812a100ae31f499b11fe1a4a0d524da84a51c5e1f267770fe8032d8a28b4fb3f6313a2b8f087e277a65fd4a4d507aa4e7d87a96ea')
+
+prepare() {
+ cd ${_gitname}-${pkgver}
+ sed -r 's|(set rtp)|" \1|' -i README.md
+}
package() {
cd ${_gitname}-${pkgver}
vimpath="${pkgdir}/usr/share/vim/vimfiles"
- mkdir -p ${vimpath}/doc
- cp -R doc ${vimpath}
- mkdir -p ${vimpath}/autoload
- cp -R autoload ${vimpath}
+ mkdir -p "${vimpath}/doc"
+ cp -R doc "${vimpath}"
+ mkdir -p "${vimpath}/autoload"
+ cp -R autoload "${vimpath}"
- install -Dm 644 "${srcdir}"/vundle.vimrc ${pkgdir}/usr/share/${pkgname}/vimrc.sample
install -Dm 644 LICENSE-MIT.txt ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
install -Dm 644 README.md ${pkgdir}/usr/share/doc/${pkgname}/README
}