mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-12 20:22:05 +01:00
testing/grass: new aport
This commit is contained in:
parent
7ba62b3c28
commit
02b989dfd9
35
testing/grass/APKBUILD
Normal file
35
testing/grass/APKBUILD
Normal file
@ -0,0 +1,35 @@
|
||||
# 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
|
||||
"
|
||||
Loading…
x
Reference in New Issue
Block a user