[alpine-aports] [PATCH] testing/vim-rust: new aport
Export this patch
https://github.com/rust-lang/rust.vim
Vim configuration for Rust.
---
testing/vim-rust/APKBUILD | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
create mode 100644 testing/vim-rust/APKBUILD
diff --git a/testing/vim-rust/APKBUILD b/testing/vim-rust/APKBUILD
new file mode 100644
index 0000000..62872c1
--- /dev/null
+++ b/testing/vim-rust/APKBUILD
@@ -0,0 +1,32 @@
+ # Contributor: Luka Vandervelden <lukc@upyum.com>
+ # Maintainer: Luka Vandervelden <lukc@upyum.com>
+ pkgname=vim-rust
+ pkgver=305
+ _commit=e651851c7455286f0ba42c46777e9677c68796ac
+ pkgrel=0
+ pkgdesc="Vim configuration for Rust."
+ url="https://github.com/rust-lang/rust.vim"
+ arch="noarch"
+ license="MIT"
+ depends="vim"
+ depends_dev=""
+ makedepends=""
+ install=""
+ subpackages=""
+ source="https://github.com/rust-lang/rust.vim/archive/$_commit.zip"
+
+ _vimver="$(. ../../main/vim/APKBUILD; echo $pkgver | sed 's/\.//;s/\..*//')"
That looks kind of ugly and would require a rebuild of this aport on a
major vim version bump.
S�ren.
---
Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org
Help: alpine-aports+help@lists.alpinelinux.org
---
+
+ _builddir="rust.vim-$_commit"
+ build() {
+ :
+ }
+
+ package() {
+ mkdir -p "$pkgdir"/usr/share/vim/vim$_vimver
+ cp -r $srcdir/$_builddir/*/ $pkgdir/usr/share/vim/vim$_vimver
+ }
+
+ md5sums="def924ab2dacc48bbbfe03136e53a29f e651851c7455286f0ba42c46777e9677c68796ac.zip"
+ sha256sums="0b5462d03c06560dc19250fcc19f98a255a00c037b765de2d72f41b0afeb31a4 e651851c7455286f0ba42c46777e9677c68796ac.zip"
+ sha512sums="892f5ebbfed1cf9eaa8fe8bbaf9934ab98aacd8dd8874fe3faf82fcec1fec9973a25a7ff785bcf144e0dee8a0bdeefeaa1785f16caf84db9312b161c9fcef348 e651851c7455286f0ba42c46777e9677c68796ac.zip"
--
2.7.2
---
Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org
Help: alpine-aports+help@lists.alpinelinux.org
---
Does it really make sense to package a vim plugin for a programming
language that is currently not officially supported in our repositories?
Besides upstream doesn't seem to tag releases which isn't cool either.
Otherwise it looks good although a minor problem might be the following:
On 11.03.16, Luka Vandervelden wrote: