mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-02-20 23:32:47 +01:00
34 lines
853 B
Plaintext
34 lines
853 B
Plaintext
# Contributor: Jakub Jirutka <jakub@jirutka.cz>
|
|
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
|
|
pkgname=duckscript
|
|
pkgver=0.8.11
|
|
pkgrel=0
|
|
pkgdesc="Simple, extendable and embeddable scripting language"
|
|
url="https://sagiegurari.github.io/duckscript/"
|
|
arch="x86_64 armv7 armhf aarch64 x86 ppc64le" # limited by rust/cargo
|
|
license="Apache-2.0"
|
|
makedepends="cargo openssl1.1-compat-dev"
|
|
source="https://github.com/sagiegurari/duckscript/archive/$pkgver/$pkgname-$pkgver.tar.gz"
|
|
|
|
prepare() {
|
|
default_prepare
|
|
|
|
cargo fetch --locked
|
|
}
|
|
|
|
build() {
|
|
cargo build --release --frozen
|
|
}
|
|
|
|
check() {
|
|
cargo test --frozen
|
|
}
|
|
|
|
package() {
|
|
install -D -m755 target/release/duck -t "$pkgdir"/usr/bin/
|
|
}
|
|
|
|
sha512sums="
|
|
7641f5c5cce97795f5fd71ef926c42624bff6e3d07037ccdd75ca44b4804d07f42b159c08c1e4721dceacd0a4096fc0205334a820158828ef527194a1402f630 duckscript-0.8.11.tar.gz
|
|
"
|