diff options
author | Luis Martinez | 2021-10-20 12:10:16 -0500 |
---|---|---|
committer | Luis Martinez | 2021-10-20 12:10:16 -0500 |
commit | 78075f079477c6d58df821da67ddd13a86ba09e6 (patch) | |
tree | a9a4c8fbcfb31be823f3655c82012f9b6e1078eb | |
download | aur-78075f079477c6d58df821da67ddd13a86ba09e6.tar.gz |
initial commit
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | PKGBUILD | 29 |
2 files changed, 46 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..f5de2821761a --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,17 @@ +pkgbase = vim-dadbod-ui-git + pkgdesc = Simple UI for vim-dadbod + pkgver = r261.5f2bd84 + pkgrel = 1 + url = https://github.com/kristijanhusak/vim-dadbod-ui + arch = any + groups = vim-plugins + license = MIT + makedepends = git + depends = vim-plugin-runtime + depends = vim-dadbod + provides = vim-dadbod-ui + conflicts = vim-dadbod-ui + source = vim-dadbod-ui-git::git+https://github.com/kristijanhusak/vim-dadbod-ui + md5sums = SKIP + +pkgname = vim-dadbod-ui-git diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..e5ba003a4089 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,29 @@ +# Maintainer: Luis Martinez <luis dot martinez at disroot dot org> + +pkgname=vim-dadbod-ui-git +pkgver=r261.5f2bd84 +pkgrel=1 +pkgdesc="Simple UI for vim-dadbod" +arch=('any') +url="https://github.com/kristijanhusak/vim-dadbod-ui" +license=('MIT') +groups=('vim-plugins') +depends=('vim-plugin-runtime' 'vim-dadbod') +makedepends=('git') +provides=("${pkgname%-git}") +conflicts=("${pkgname%-git}") +source=("$pkgname::git+$url") +md5sums=('SKIP') + +pkgver() { + cd "$pkgname" + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +package() { + cd "$pkgname" + find autoload doc ftplugin plugin syntax \ + -type f -exec install -Dm 644 '{}' "$pkgdir/usr/share/vim/vimfiles/{}" \; + install -Dm 644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/" + install -Dm 644 README.md -t "$pkgdir/usr/share/doc/$pkgname/" +} |