# 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.23.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") sha256sums=('4449cbdafc693358df9f59da33b8658d65f59b8f12a5ff9af9ce0ad6536f79ad') build() { cd "$pkgname-$pkgver" pub get /opt/dart-sdk/bin/dart2native bin/sass.dart -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" }