diff options
author | Amos Onn | 2022-02-09 01:28:20 +0100 |
---|---|---|
committer | Amos Onn | 2022-02-09 01:28:20 +0100 |
commit | 96cc13eb73a1511ada1e9486ceba1fa3d6ed12b8 (patch) | |
tree | 725d2b1fb57872d4a1a1e988537e88e601a612d4 | |
parent | 6a7a7a363e842b3f85e23f57197d7617f4dccf7d (diff) | |
download | aur-vim-simpylfold.tar.gz |
Bump to v2.0
-rw-r--r-- | .SRCINFO | 9 | ||||
-rw-r--r-- | PKGBUILD | 18 |
2 files changed, 15 insertions, 12 deletions
@@ -1,8 +1,6 @@ -# Generated by mksrcinfo v8 -# Mon Feb 29 11:20:41 UTC 2016 pkgbase = vim-simpylfold pkgdesc = Vim plugin providing simple, correct folding for Python - pkgver = 1.1 + pkgver = 2.0 pkgrel = 1 url = https://github.com/tmhedberg/SimpylFold install = vimdoc.install @@ -10,8 +8,7 @@ pkgbase = vim-simpylfold groups = vim-plugins license = custom depends = vim>=7.3 - source = https://github.com/tmhedberg/SimpylFold/archive/v1.1.tar.gz - sha256sums = e5dc725ac9ffdde3180a9bced262a6bc9666ddd1dad58f90cfc659397d72ac92 + source = https://codeload.github.com/tmhedberg/SimpylFold/tar.gz/v2.0 + sha512sums = 65cc7ab7ed3de03bf7eccfabd309d16a6f0cfca7651283be172f47b4160a20d1322c152e80354cfac35c13063315f60a39c3207d2d6b4246a8e804bad1c0e6ff pkgname = vim-simpylfold - @@ -1,8 +1,10 @@ -# Maintainer: Rhinoceros <https://aur.archlinux.org/account/rhinoceros> +# Maintainer: Amos Onn <amosonn@gmail.com> +# Contributor: Rhinoceros <https://aur.archlinux.org/account/rhinoceros> # Contributor: lolilolicon <lolilolicon_at_gmail_dot_com> pkgname=vim-simpylfold -pkgver=1.1 +_pkgname=SimpylFold +pkgver=2.0 pkgrel=1 pkgdesc='Vim plugin providing simple, correct folding for Python' arch=('any') @@ -11,12 +13,16 @@ license=('custom') depends=('vim>=7.3') groups=('vim-plugins') install=vimdoc.install -source=("https://github.com/tmhedberg/SimpylFold/archive/v$pkgver.tar.gz") -sha256sums=('e5dc725ac9ffdde3180a9bced262a6bc9666ddd1dad58f90cfc659397d72ac92') +source=("https://codeload.github.com/tmhedberg/$_pkgname/tar.gz/v$pkgver") +sha512sums=('65cc7ab7ed3de03bf7eccfabd309d16a6f0cfca7651283be172f47b4160a20d1322c152e80354cfac35c13063315f60a39c3207d2d6b4246a8e804bad1c0e6ff') package() { - cd "SimpylFold-$pkgver" + cd "$_pkgname-$pkgver" local _vimdir="$pkgdir/usr/share/vim/vimfiles" - install -D -m644 {,"$_vimdir/"}"ftplugin/python/SimpylFold.vim" + install -D -m644 {,"$_vimdir/"}"autoload/SimpylFold.vim" install -D -m644 {,"$_vimdir/"}"doc/SimpylFold.txt" + install -D -m644 {,"$_vimdir/"}"ftplugin/python/SimpylFold.vim" + ln -s cpython "$_vimdir/ftplugin/python" + install -D -m644 {,"$_vimdir/"}"plugin/SimpylFold.vim" + install -D -m644 LICENSE -t "$pkgdir/usr/share/licenses/${pkgname}" } |