diff options
-rw-r--r-- | .SRCINFO | 13 | ||||
-rw-r--r-- | PKGBUILD | 23 |
2 files changed, 36 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..68533a41f9b5 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,13 @@ +pkgbase = vim-detectspelllang + pkgdesc = Make Vim autodetect the spellcheck language + pkgver = 2.2 + pkgrel = 1 + url = https://github.com/Konfekt/vim-detectspelllang + arch = any + groups = vim-plugins + license = unknown + depends = vim-plugin-runtime + source = vim-detectspelllang-2.2.tar.gz::https://github.com/Konfekt/vim-detectspelllang/archive/refs/tags/2.2.tar.gz + sha256sums = 8159bac05721bd116d320c53f96312667c4b81365b81d67a83ebaa2243eb2611 + +pkgname = vim-detectspelllang diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..8bde43bde708 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,23 @@ +# Maintainer: Henry-Joseph Audéoud <h.audeoud+aur@gmail.com> + +pkgname=vim-detectspelllang +_pkgname="${pkgname%vim-}" +pkgver=2.2 +pkgrel=1 +pkgdesc="Make Vim autodetect the spellcheck language" +arch=(any) +url="https://github.com/Konfekt/${pkgname}" +license=(unknown) +depends=(vim-plugin-runtime) +groups=(vim-plugins) +source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/refs/tags/${pkgver}.tar.gz") +sha256sums=('SKIP') + +package() { + cd "${srcdir}/vim-DetectSpellLang-${pkgver}" # Case matters! + _installpath="${pkgdir}/usr/share/vim/vimfiles" + + for file in autoload/*.vim doc/*.txt plugin/*.vim; do + install -Dm644 "$file" "${_installpath}/${file}" + done +} |