diff options
author | roliboy | 2020-10-31 18:41:08 +0200 |
---|---|---|
committer | roliboy | 2020-10-31 18:41:08 +0200 |
commit | 37b1fa36b4ced15852b122717431c1b192279ab0 (patch) | |
tree | 07e1cccd33ca51d82870099adfdb0b68700ce5db | |
download | aur-37b1fa36b4ced15852b122717431c1b192279ab0.tar.gz |
initial commit
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | PKGBUILD | 33 |
2 files changed, 47 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..4ee598c618dd --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,14 @@ +pkgbase = neovim-dracula + pkgdesc = Dracula theme for neovim + pkgver = 2.0.0 + pkgrel = 1 + url = https://github.com/dracula/vim + arch = any + groups = neovim-plugins + license = MIT + depends = neovim + source = neovim-dracula-2.0.0.tar.gz::https://github.com/dracula/vim/archive/v2.0.0.tar.gz + sha256sums = b783e2879c13dcdcd8a1a24b8ebe37a8b4482eb26e0b516e559d1d5f7182ed01 + +pkgname = neovim-dracula + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..35b81f6b22bf --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,33 @@ +# Maintainer: Nagy Roland <roliboy@protonmail.com> + +pkgname=neovim-dracula +pkgver=2.0.0 +pkgrel=1 +pkgdesc="Dracula theme for neovim" +arch=('any') +url="https://github.com/dracula/vim" +license=('MIT') +depends=('neovim') +groups=('neovim-plugins') +source=("${pkgname}-${pkgver}.tar.gz::https://github.com/dracula/vim/archive/v${pkgver}.tar.gz") +sha256sums=('b783e2879c13dcdcd8a1a24b8ebe37a8b4482eb26e0b516e559d1d5f7182ed01') + +prepare() { + cd "vim-${pkgver}" + chmod 755 after/ autoload/ colors/ doc/ +} + +package() { + cd "vim-${pkgver}" + local _installpath="${pkgdir}/usr/share/nvim/runtime" + + install -d "${_installpath}" + + cp -r after ${_installpath} + cp -r autoload ${_installpath} + cp -r colors ${_installpath} + cp -r doc ${_installpath} + + install -Dm 644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README.md" + install -Dm 644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +} |