Skip to content
Snippets Groups Projects
Commit 02b989df authored by LN Liberda's avatar LN Liberda Committed by alice
Browse files

testing/grass: new aport

parent 7ba62b3c
No related branches found
No related tags found
1 merge request!46236testing/grass: new aport
Pipeline #161113 canceled
# Contributor: Lauren N. Liberda <lauren@selfisekai.rocks>
# Maintainer: Lauren N. Liberda <lauren@selfisekai.rocks>
pkgname=grass
pkgver=0.12.3
pkgrel=0
pkgdesc="Sass compiler written purely in Rust"
url="https://github.com/connorskees/grass"
arch="all"
license="MIT"
makedepends="cargo"
source="
https://github.com/connorskees/grass/archive/v$pkgver/grass-v$pkgver.tar.gz
"
prepare() {
default_prepare
cargo fetch --locked --target="$CTARGET"
}
build() {
cargo build -p grass --release --frozen
}
check() {
cargo test -p grass --tests
}
package() {
install -Dm755 target/release/grass "$pkgdir"/usr/bin/grass
}
sha512sums="
ea70ce7627059cd567052edcd0c0259f9f7b5db38d66211ab4c3310470ba27cf19d828731930ae56ec506fe58d5acbc2e7b53b1aef9ae274dea51e3f78efaa23 grass-v0.12.3.tar.gz
"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment