summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorKr1ss2020-10-24 01:22:32 +0200
committerKr1ss2020-10-24 01:22:32 +0200
commit0bbbab2601e2dbf447a3f1726d7d7b511335b05b (patch)
tree011263c69b8ad08c8635c5f89283f2ce1362b3f4 /PKGBUILD
downloadaur-0bbbab2601e2dbf447a3f1726d7d7b511335b05b.tar.gz
initial upload: 2019.12.02.gd3de4fb-1
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..486cefdc253
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,35 @@
+# Maintainer : Kr1ss $(tr +- .@ <<<'<kr1ss+x-yandex+com>')
+
+
+pkgname=vim-smoothie-git
+
+pkgver() { git -C "${pkgname%-git}" log -n1 --format=%cs.g%h | tr - .; }
+pkgver=2019.12.02.gd3de4fb
+pkgrel=1
+
+pkgdesc='Smoth scrolling for Vim done right'
+groups=('vim-plugins')
+arch=('any')
+url="https://github.com/psliwka/${pkgname%-git}"
+license=('MIT')
+
+provides=("${pkgname%-git}")
+conflicts=("${pkgname%-git}")
+
+makedepends=('git')
+depends=('vim')
+
+source=("git+$url.git")
+sha256sums=('SKIP')
+
+
+package() {
+ cd "${pkgname%-git}"
+ install -Dm644 plugin/smoothie.vim -t"$pkgdir/usr/share/vim/vimfiles/plugin/"
+ install -Dm644 autoload/smoothie.vim -t"$pkgdir/usr/share/vim/vimfiles/autoload/"
+ install -Dm644 README.md demo.gif -t"$pkgdir/usr/share/doc/${pkgname%-git}/"
+ install -Dm644 LICENSE -t"$pkgdir/usr/share/licenses/${pkgname%-git}/"
+}
+
+
+# vim: ts=2 sw=2 et ft=PKGBUILD: