diff options
author | Luis Martinez | 2021-04-27 19:07:46 -0500 |
---|---|---|
committer | Luis Martinez | 2021-04-27 19:07:46 -0500 |
commit | 268860d004d10418feed93871a4c143550edbac6 (patch) | |
tree | 2ae62ae3e3d303d4212d281c3dcdab15f0bb191d | |
download | aur-268860d004d10418feed93871a4c143550edbac6.tar.gz |
initial commit
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | PKGBUILD | 29 |
3 files changed, 48 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..d516c071d903 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = vim-workspace-git + pkgdesc = Vim workspace manager plugin for managing groups of files + pkgver = 1.8.3.r18.gfaa8354 + pkgrel = 1 + url = https://github.com/thaerkh/vim-workspace + arch = any + groups = vim-plugins + license = Apache + makedepends = git + depends = vim-plugin-runtime + source = vim-workspace-git::git+https://github.com/thaerkh/vim-workspace + sha256sums = SKIP + +pkgname = vim-workspace-git + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..73de0d900192 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +!PKGBUILD +!.SRCINFO +!.gitignore +* diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..c9a8b147086d --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,29 @@ +# Maintainer: Luis Martinez <luis dot martinez at tuta dot io> +# Contributor: Aaron Griffin <aaron@archlinux.org> +# Contributor: Daniel J Griffiths <ghost1227@archlinux.us> + +pkgname=vim-workspace-git +pkgver=1.8.3.r18.gfaa8354 +pkgrel=1 +pkgdesc="Vim workspace manager plugin for managing groups of files" +arch=('any') +url="https://github.com/thaerkh/vim-workspace" +license=('Apache') +groups=('vim-plugins') +depends=('vim-plugin-runtime') +makedepends=('git') +source=("$pkgname::git+$url") +sha256sums=('SKIP') + +pkgver() { + cd "$pkgname" + git describe --long --tags | sed 's/-/.r/;s/-/./' +} + +package() { + cd "$pkgname" + find doc plugin \ + -type f -exec install -Dvm 644 '{}' "$pkgdir/usr/share/vim/vimfiles/{}" \; + install -Dvm 644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/" + install -Dvm 644 README.md -t "$pkgdir/usr/share/doc/$pkgname/" +} |