PKGBUILD 574 B

123456789101112131415161718192021222324252627
  1. # Maintainer: Alexander Rosenberg <zanderpkg at pm dot me>
  2. pkgname=fennel-language-server
  3. pkgver=54
  4. pkgrel=1
  5. pkgdesc='Fennel language server protocol (LSP) support.'
  6. url='https://github.com/rydesun/fennel-language-server'
  7. arch=('x86_64')
  8. license=('MIT')
  9. depends=('rust')
  10. source=('git+https://github.com/rydesun/fennel-language-server.git')
  11. sha256sums=('SKIP')
  12. pkgver(){
  13. cd "$pkgname"
  14. git rev-list --count HEAD
  15. }
  16. build() {
  17. cd "$pkgname"
  18. cargo build --release
  19. }
  20. package() {
  21. install -Dt "$pkgdir/usr/bin/" "$pkgname/target/release/fennel-language-server"
  22. }