diff options
author | Luis Martinez | 2021-04-21 03:19:49 -0500 |
---|---|---|
committer | Luis Martinez | 2021-04-21 03:19:49 -0500 |
commit | c2691c3f9ccd60b2914346c644a30f913bab2b4b (patch) | |
tree | 023dc4386f3afacaafd008a9259ca53915c2e095 | |
download | aur-vim-oceanic-material-git.tar.gz |
initial commit
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | PKGBUILD | 26 |
3 files changed, 47 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..f7a2bf87cda9 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,17 @@ +pkgbase = vim-oceanic-material-git + pkgdesc = Oceanic Material colorscheme for Vim + pkgver = r104.900f487 + pkgrel = 1 + url = https://github.com/glepnir/oceanic-material + arch = any + groups = vim-plugins + license = MIT + makedepends = git + depends = vim-plugin-runtime + provides = vim-oceanic-material + conflicts = vim-oceanic-material + source = vim-oceanic-material-git::git+https://github.com/glepnir/oceanic-material + md5sums = SKIP + +pkgname = vim-oceanic-material-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..8fc204800618 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,26 @@ +# Maintainer: Luis Martinez <luis dot martinez at tuta dot io> +pkgname=vim-oceanic-material-git +pkgver=r104.900f487 +pkgrel=1 +pkgdesc="Oceanic Material colorscheme for Vim" +arch=('any') +url="https://github.com/glepnir/oceanic-material" +license=('MIT') +groups=('vim-plugins') +depends=('vim-plugin-runtime') +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" + install -Dvm 644 colors/oceanic_material.vim -t "$pkgdir/usr/share/vim/vimfiles/colors/" + install -Dvm 644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/" +} |