diff options
Diffstat (limited to 'community')
-rw-r--r-- | community/nftables-vim/APKBUILD | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/community/nftables-vim/APKBUILD b/community/nftables-vim/APKBUILD new file mode 100644 index 0000000000..227cb0536e --- /dev/null +++ b/community/nftables-vim/APKBUILD @@ -0,0 +1,24 @@ +# Contributor: Jakub Jirutka <jakub@jirutka.cz> +# Maintainer: Jakub Jirutka <jakub@jirutka.cz> +pkgname="nftables-vim" +_projname="vim-nftables" +pkgver="0_git20190725" +_gitrev="aad8540ef56f495baa589f646edc1253db990f1a" +pkgrel=0 +pkgdesc="vim nftables syntax" +url="https://github.com/nfnty/vim-nftables" +arch="noarch" +license="MIT" +install_if="vim nftables" +source="https://github.com/nfnty/vim-nftables/archive/$_gitrev/$_projname-$_gitrev.tar.gz" +builddir="$srcdir/$_projname-$_gitrev" +options="!check" # no tests provided + +package() { + local destdir="$pkgdir/usr/share/vim/vimfiles" + + mkdir -p "$destdir" + cp -r ftdetect ftplugin indent syntax "$destdir"/ +} + +sha512sums="061b4410f261ea5449c366261ff8b3fd9ab15995ab73ac2f77a6de58e0d8764a0828973cbde152eb637f4bc6a8882c56efecdda65c7ecd6ca69df4f92fd190fe vim-nftables-aad8540ef56f495baa589f646edc1253db990f1a.tar.gz" |