[arch-commits] Commit in kak-lsp/repos (community-x86_64 community-x86_64/PKGBUILD)

Maxim Baz maximbaz at archlinux.org
Sat Dec 1 18:14:39 UTC 2018


    Date: Saturday, December 1, 2018 @ 18:14:38
  Author: maximbaz
Revision: 410709

archrelease: copy trunk to community-x86_64

Added:
  kak-lsp/repos/community-x86_64/
  kak-lsp/repos/community-x86_64/PKGBUILD
    (from rev 410708, kak-lsp/trunk/PKGBUILD)

----------+
 PKGBUILD |   31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

Copied: kak-lsp/repos/community-x86_64/PKGBUILD (from rev 410708, kak-lsp/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2018-12-01 18:14:38 UTC (rev 410709)
@@ -0,0 +1,31 @@
+# Maintainer: Maxim Baz <$pkgname at maximbaz dot com>
+
+pkgname=kak-lsp
+pkgver=5.10.0
+pkgrel=2
+pkgdesc='Kakoune Language Server Protocol Client'
+arch=('x86_64')
+url='https://github.com/ul/kak-lsp'
+license=('custom:unlicense')
+depends=('kakoune')
+makedepends=('rust')
+optdepends=(
+    'bash-language-server: language server for Bash'
+    'python-language-server: language server for Python'
+)
+source=("$pkgname-$pkgver.tar.gz::https://github.com/ul/$pkgname/archive/v$pkgver.tar.gz")
+sha256sums=('71778e17a22a9d7196ae27c8e70728378cacfbddd291c3efa1b431fd236e44cf')
+
+build() {
+    cd "$pkgname-$pkgver"
+    cargo build --release --locked
+}
+
+package() {
+    cd "$pkgname-$pkgver"
+    install -Dm755 -t "$pkgdir/usr/bin" target/release/$pkgname
+    install -Dm644 -t "$pkgdir/usr/share/$pkgname/examples/" $pkgname.toml
+    install -Dm644 UNLICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+# vim:set ts=4 sw=4 et:


More information about the arch-commits mailing list