commit a1f21ff38d167496a5950ddbe1ad179e1fc93e6c Author: qwjyh Date: Sat Jul 27 18:52:52 2024 +0900 init diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..72e8ffc --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +* diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..3aae582 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,22 @@ +# Maintainer: qwjyh + +pkgname=vhdl-ls-bin +pkgver=0.82.0 +pkgrel=1 +depends=() +makedepends=() +arch=('x86_64') +pkgdesc="A fast VHDL language server" +url="https://github.com/VHDL-LS/rust_hdl" +source=("$pkgname-$pkgver.zip::https://github.com/VHDL-LS/rust_hdl/releases/download/v$pkgver/vhdl_ls-x86_64-unknown-linux-gnu.zip") +license=('MPL-2.0') +sha512sums=('16a3b42778bdcfffaad22d41bdfa1212cfe510c751ccd55991cb80df2ea0918c664de3f0eb0b0f63d1823e67e737e11fd441a283e31b06990024b95091fa53b7') + +package() { + cd "vhdl_ls-x86_64-unknown-linux-gnu" || exit + install -Dm0755 -t "$pkgdir/usr/bin/" "bin/vhdl_ls" + + find "vhdl_libraries" -type f -exec install -Dm0755 -t "$pkgdir/usr/lib/rust_hdl/{}" {} \; +} + +# vim: ts=2 sw=2: