mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-04-21 05:32:40 +02:00
29 lines
818 B
Plaintext
29 lines
818 B
Plaintext
# Contributor: Jakub Jirutka <jakub@jirutka.cz>
|
|
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
|
|
pkgname=duckscript
|
|
pkgver=0.7.1
|
|
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="82b6c5b8da1426254b6fb1ceadb8dd6f15caa51769950550b1179b783d8ddc48464fc5affe806bd817c20907782efb60d4e909a07d221fea92196b27667b272e duckscript-0.7.1.tar.gz"
|