summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorAnton Karmanov2020-07-12 22:25:58 +0500
committerAnton Karmanov2020-07-12 22:25:58 +0500
commit3921409d2eef00b4835e7efe23015080b84d3f65 (patch)
treefd1c6b89a3192a07a5b67d18ad2160e5c34689bf /PKGBUILD
downloadaur-3921409d2eef00b4835e7efe23015080b84d3f65.tar.gz
Add initial recipe
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD26
1 files changed, 26 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..20204aa3c46
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,26 @@
+# Maintainer: Anton Karmanov <bergentroll@insiberia.net>
+pkgname=vim-python-pep8-indent
+pkgver=r145.60ba5e1
+pkgrel=1
+pkgdesc='Vim plugin to improve Python indentation'
+url='https://github.com/Vimjas/vim-python-pep8-indent'
+arch=('any')
+license=('custom:Public Domain')
+depends=('vim')
+makedepends=('git')
+groups=('vim-plugins')
+source=("${pkgname}::git+${url}")
+sha512sums=('SKIP')
+install="${pkgname}.install"
+
+pkgver() {
+ cd ${pkgname}
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+package() {
+ cd ${pkgname}
+ 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/"
+}