diff options
author | Luis Martinez | 2021-05-10 23:40:55 -0500 |
---|---|---|
committer | Luis Martinez | 2021-05-10 23:40:55 -0500 |
commit | 29b85462355f3c3f39f2d7b9d9a1d018bb6893d3 (patch) | |
tree | fb2c34c0a2b0504d77082456d48488b30ab35362 | |
download | aur-vim-amora-git.tar.gz |
initial commit
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | PKGBUILD | 28 |
2 files changed, 45 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..0d1c43d728b7 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,17 @@ +pkgbase = vim-amora-git + pkgdesc = A modern colorscheme based on Dracula and Gruvbox Material + pkgver = r43.c7a0000 + pkgrel = 1 + url = https://github.com/owozsh/amora + arch = any + groups = vim-plugins + license = MIT + makedepends = git + depends = vim-plugin-runtime + provides = vim-amora + conflicts = vim-amora + source = vim-amora-git::git+https://github.com/owozsh/amora + sha256sums = SKIP + +pkgname = vim-amora-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..5885163e3009 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,28 @@ +# Maintainer: Luis Martinez <luis dot martinez at tuta dot io> + +pkgname=vim-amora-git +pkgver=r43.c7a0000 +pkgrel=1 +pkgdesc="A modern colorscheme based on Dracula and Gruvbox Material" +arch=('any') +url="https://github.com/owozsh/amora" +license=('MIT') +groups=('vim-plugins') +depends=('vim-plugin-runtime') +makedepends=('git') +provides=("${pkgname%-git}") +conflicts=("${pkgname%-git}") +source=("$pkgname::git+$url") +sha256sums=('SKIP') + +pkgver() { + cd "$pkgname" + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +package() { + cd "$pkgname" + install -Dvm 644 colors/amora.vim -t "$pkgdir/usr/share/vim/vimfiles/colors/" + install -Dvm 644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/" + install -Dvm 644 README.md -t "$pkgdir/usr/share/doc/$pkgname/" +} |