summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnton Karmanov2020-07-13 10:23:27 +0500
committerAnton Karmanov2020-07-13 10:23:27 +0500
commit5f07830f6992a2cead444b6e14ade3abe0f11ecc (patch)
treed376ff913c7486c33277eccd89be1ddf64f7b360
parent3921409d2eef00b4835e7efe23015080b84d3f65 (diff)
downloadaur-vim-python-pep8-indent-git.tar.gz
Rename pkg -> pkg-git
-rw-r--r--.SRCINFO7
-rw-r--r--PKGBUILD13
-rw-r--r--vim-python-pep8-indent-git.install (renamed from vim-python-pep8-indent.install)0
3 files changed, 12 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index e135934f0aa..fc3ff295ba7 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,16 +1,17 @@
-pkgbase = vim-python-pep8-indent
+pkgbase = vim-python-pep8-indent-git
pkgdesc = Vim plugin to improve Python indentation
pkgver = r145.60ba5e1
pkgrel = 1
url = https://github.com/Vimjas/vim-python-pep8-indent
- install = vim-python-pep8-indent.install
+ install = vim-python-pep8-indent-git.install
arch = any
groups = vim-plugins
license = custom:Public Domain
makedepends = git
depends = vim
+ conflicts = vim-python-pep8-indent
source = vim-python-pep8-indent::git+https://github.com/Vimjas/vim-python-pep8-indent
sha512sums = SKIP
-pkgname = vim-python-pep8-indent
+pkgname = vim-python-pep8-indent-git
diff --git a/PKGBUILD b/PKGBUILD
index 20204aa3c46..d9998910301 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,8 @@
# Maintainer: Anton Karmanov <bergentroll@insiberia.net>
-pkgname=vim-python-pep8-indent
-pkgver=r145.60ba5e1
+
+_upstream_name=vim-python-pep8-indent
+pkgname="${_upstream_name}-git"
+pkgver='r145.60ba5e1'
pkgrel=1
pkgdesc='Vim plugin to improve Python indentation'
url='https://github.com/Vimjas/vim-python-pep8-indent'
@@ -8,18 +10,19 @@ arch=('any')
license=('custom:Public Domain')
depends=('vim')
makedepends=('git')
+conflicts=('vim-python-pep8-indent')
groups=('vim-plugins')
-source=("${pkgname}::git+${url}")
+source=("${_upstream_name}::git+${url}")
sha512sums=('SKIP')
install="${pkgname}.install"
pkgver() {
- cd ${pkgname}
+ cd ${_upstream_name}
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
- cd ${pkgname}
+ cd ${_upstream_name}
install -Dm 644 COPYING.txt -t "${pkgdir}/usr/share/licenses/${pkgname}/"
install -dm 755 "${pkgdir}/usr/share/vim/vimfiles/"
cp -dr --no-preserve=ownership indent "${pkgdir}/usr/share/vim/vimfiles/"
diff --git a/vim-python-pep8-indent.install b/vim-python-pep8-indent-git.install
index 72faaafdede..72faaafdede 100644
--- a/vim-python-pep8-indent.install
+++ b/vim-python-pep8-indent-git.install