mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-05 08:17:14 +02:00
33 lines
876 B
Text
33 lines
876 B
Text
maintainer="Michał Polański <michal@polanski.me>"
|
|
pkgname=beancount-language-server
|
|
pkgver=1.3.6
|
|
pkgrel=0
|
|
pkgdesc="Language server for Beancount files"
|
|
url="https://github.com/polarmutex/beancount-language-server"
|
|
license="MIT"
|
|
arch="all !armhf" # FTBFS
|
|
makedepends="cargo cargo-auditable"
|
|
source="https://github.com/polarmutex/beancount-language-server/archive/v$pkgver/beancount-language-server-$pkgver.tar.gz"
|
|
options="net" # fetch dependencies
|
|
|
|
prepare() {
|
|
default_prepare
|
|
|
|
cargo fetch --target="$CTARGET" --locked
|
|
}
|
|
|
|
build() {
|
|
cargo auditable build --frozen --release
|
|
}
|
|
|
|
check() {
|
|
cargo test --frozen
|
|
}
|
|
|
|
package() {
|
|
install -Dm755 target/release/$pkgname -t "$pkgdir"/usr/bin/
|
|
}
|
|
|
|
sha512sums="
|
|
f7b56ebf42d3a6d4b507876d54f2964b2c82314d51b3d65ac189a6ec97a796cbf7ada8fe424afbe37e7ee6d7be1349035779435f0c0e19a43cc77d03590ff9da beancount-language-server-1.3.6.tar.gz
|
|
"
|