mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-02-01 05:52:30 +01:00
31 lines
820 B
Plaintext
31 lines
820 B
Plaintext
# Contributor: Jakub Jirutka <jakub@jirutka.cz>
|
|
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
|
|
pkgname=duckscript
|
|
pkgver=0.8.4
|
|
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 openssl-dev"
|
|
source="https://github.com/sagiegurari/duckscript/archive/$pkgver/$pkgname-$pkgver.tar.gz"
|
|
|
|
build() {
|
|
cargo build --release --locked
|
|
}
|
|
|
|
check() {
|
|
cargo test --locked
|
|
}
|
|
|
|
package() {
|
|
cd ./duckscript_cli
|
|
|
|
cargo install --path . --root="$pkgdir/usr"
|
|
rm "$pkgdir"/usr/.crates*
|
|
}
|
|
|
|
sha512sums="
|
|
741fcbf296231acdb6d8daecf56b4af75fa19617f6b2229bed1317dabfe3313c6fc8dcec0d2329a24a2bee68005f4a44d0c49c42a383eb2cd4603f8af098f67e duckscript-0.8.4.tar.gz
|
|
"
|