summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorKr1ss2020-10-24 01:22:32 +0200
committerKr1ss2020-10-24 01:22:32 +0200
commit0bbbab2601e2dbf447a3f1726d7d7b511335b05b (patch)
tree011263c69b8ad08c8635c5f89283f2ce1362b3f4
downloadaur-0bbbab2601e2dbf447a3f1726d7d7b511335b05b.tar.gz
initial upload: 2019.12.02.gd3de4fb-1
-rw-r--r--.SRCINFO17
-rw-r--r--PKGBUILD35
2 files changed, 52 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..ae09f65794b
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,17 @@
+pkgbase = vim-smoothie-git
+ pkgdesc = Smoth scrolling for Vim done right
+ pkgver = 2019.12.02.gd3de4fb
+ pkgrel = 1
+ url = https://github.com/psliwka/vim-smoothie
+ arch = any
+ groups = vim-plugins
+ license = MIT
+ makedepends = git
+ depends = vim
+ provides = vim-smoothie
+ conflicts = vim-smoothie
+ source = git+https://github.com/psliwka/vim-smoothie.git
+ sha256sums = SKIP
+
+pkgname = vim-smoothie-git
+
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: