mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-02-25 17:52:05 +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.10
|
|
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="
|
|
faf334d3511ac9ae015b5e7365654d00f6b075ceb1688ae83c9e8a02e0b56e5c3ca165d28e44c8f67b691e50c088facb146dc2b6457a5e4cf3db29e3832ce551 duckscript-0.8.10.tar.gz
|
|
"
|