mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-24 11:45:18 +03:00
36 lines
886 B
Text
36 lines
886 B
Text
# Contributor: Lauren N. Liberda <lauren@selfisekai.rocks>
|
|
# Maintainer: Lauren N. Liberda <lauren@selfisekai.rocks>
|
|
pkgname=dart-sass
|
|
pkgver=1.58.0
|
|
pkgrel=0
|
|
pkgdesc="The primary implementation of Sass"
|
|
url="https://sass-lang.com/dart-sass"
|
|
arch="x86_64" # dart
|
|
license="MIT"
|
|
makedepends="dart dart-sdk"
|
|
source="https://github.com/sass/dart-sass/archive/refs/tags/$pkgver/dart-sass-$pkgver.tar.gz"
|
|
builddir="$srcdir/dart-sass-$pkgver/"
|
|
options="!strip" # dart compile exe can't be stripped
|
|
|
|
prepare() {
|
|
default_prepare
|
|
|
|
dart pub get
|
|
}
|
|
|
|
build() {
|
|
dart compile exe -Dversion="$pkgver" bin/sass.dart
|
|
}
|
|
|
|
check() {
|
|
# sanity
|
|
bin/sass.exe --version
|
|
}
|
|
|
|
package() {
|
|
install -Dm755 bin/sass.exe "$pkgdir"/usr/bin/sass
|
|
}
|
|
|
|
sha512sums="
|
|
a52c44dc0adae7f64db9ad7c0a9647696213ea4875e3bb595cbdb3f572fe6960af56ad41252d4dab37788e46b14865959eef6809300f1f456952f5c98171e342 dart-sass-1.58.0.tar.gz
|
|
"
|