# This is an example PKGBUILD file. Use this as a start to creating your own, # and remove these comments. For more information, see 'man PKGBUILD'. # NOTE: Please fill out the license field for your package! If it is unknown, # then please put 'unknown'. # Maintainer: Thayne McCombs pkgname=dart-sass pkgver=1.32.6 pkgrel=1 pkgdesc="Sass makes CSS fun again (canonical implementation)" arch=(x86_64) url="http://sass-lang.com/" license=('MIT') makedepends=("dart>=2.6.0") options=(!strip) provides=('sass') conflicts=('ruby-sass') source=("https://github.com/sass/$pkgname/archive/$pkgver.tar.gz") b2sums=('1c477e8a3a6d74d85804f721f5ab0c5f0408ef77ece0b6568dce6fb2855ad6116dfeef6cd5022ea4f3a3f5f89f1a802faaf1a930931083fdb0fa73aa4c0def62') build() { cd "$pkgname-$pkgver" pub get /opt/dart-sdk/bin/dart2native bin/sass.dart -Dversion=$pkgver -o sass } package() { cd "$pkgname-$pkgver" pwd echo build/sass install -D -m755 sass "$pkgdir/usr/bin/sass" install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" }