diff options
author | Luis Martinez | 2021-06-05 16:08:02 -0500 |
---|---|---|
committer | Luis Martinez | 2021-06-05 16:08:02 -0500 |
commit | f7e951c0137dfd40781e4f05a505a20fea644517 (patch) | |
tree | df8b30633731d77ebc85cff6f7ee0b1c521ceda2 | |
download | aur-vim-rigel-git.tar.gz |
initial commit
-rw-r--r-- | .SRCINFO | 20 | ||||
-rw-r--r-- | PKGBUILD | 28 |
2 files changed, 48 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..0457eda86518 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,20 @@ +pkgbase = vim-rigel-git + pkgdesc = A 24bit colorscheme based on the star Rigel, the bright blue star of Orion + pkgver = 1.0.0.r39.gce441c5 + pkgrel = 1 + url = https://github.com/rigellute/rigel + arch = any + groups = vim-plugins + license = MIT + makedepends = git + depends = vim-plugin-runtime + provides = vim-rigel + provides = vim-airline-rigel + provides = vim-lightline-rigel + conflicts = vim-rigel + conflicts = vim-airline-rigel + conflicts = vim-lightline-rigel + source = vim-rigel-git::git+https://github.com/rigellute/rigel + sha256sums = SKIP + +pkgname = vim-rigel-git diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..b087d50b6250 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,28 @@ +# Maintainer: Luis Martinez <luis dot martinez at tuta dot io> + +pkgname=vim-rigel-git +pkgver=1.0.0.r39.gce441c5 +pkgrel=1 +pkgdesc="A 24bit colorscheme based on the star Rigel, the bright blue star of Orion" +arch=('any') +url="https://github.com/rigellute/rigel" +license=('MIT') +groups=('vim-plugins') +depends=('vim-plugin-runtime') +makedepends=('git') +provides=("${pkgname%-git}" 'vim-airline-rigel' 'vim-lightline-rigel') +conflicts=("${pkgname%-git}" 'vim-airline-rigel' 'vim-lightline-rigel') +source=("$pkgname::git+$url") +sha256sums=('SKIP') + +pkgver() { + cd "$pkgname" + git describe --long --tags | sed 's/^v//;s/-/.r/;s/-/./' +} + +package() { + cd "$pkgname" + find autoload colors \ + -type f -exec install -Dvm 644 '{}' "$pkgdir/usr/share/vim/vimfiles/{}" \; + install -Dvm 644 README.md -t "$pkgdir/usr/share/doc/$pkgname/" +} |