diff options
-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/" +} |