[arch-commits] Commit in (4 files)
George Rawlinson
grawlinson at gemini.archlinux.org
Tue Dec 21 18:21:36 UTC 2021
Date: Tuesday, December 21, 2021 @ 18:21:35
Author: grawlinson
Revision: 1081798
addpkg: dart-sass 1.45.1-1
Added:
dart-sass/
dart-sass/repos/
dart-sass/trunk/
dart-sass/trunk/PKGBUILD
----------+
PKGBUILD | 40 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 40 insertions(+)
Added: dart-sass/trunk/PKGBUILD
===================================================================
--- dart-sass/trunk/PKGBUILD (rev 0)
+++ dart-sass/trunk/PKGBUILD 2021-12-21 18:21:35 UTC (rev 1081798)
@@ -0,0 +1,40 @@
+# Maintainer: George Rawlinson <grawlinson at archlinux.org>
+# Contributor: Thayne McCombs <astrothayne at gmail.com>
+
+pkgname=dart-sass
+pkgver=1.45.1
+pkgrel=1
+pkgdesc="Sass makes CSS fun again"
+arch=('x86_64')
+url='http://sass-lang.com/'
+license=('MIT')
+depends=('glibc')
+makedepends=('dart')
+options=('!strip')
+provides=('sass')
+conflicts=('ruby-sass')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/sass/$pkgname/archive/$pkgver.tar.gz")
+sha512sums=('cccc8cc811f022afd994ea84f82ec06602c28fd8e00d8d53de3f1d1544ff1077d7b53b72c9163b2a44d3d73d90c19380ac2e85976bfa85018477650b60c39835')
+b2sums=('ec4d78510828da73a5677b2eaaf853ec3aca9844ef77360e773ebd3185d50d7c0e5fd245a1bdf3f0a5902cb080048387e4f9562f91b74599166c2f48b90b7065')
+
+prepare() {
+ cd "$pkgname-$pkgver"
+
+ # download dependencies
+ pub get
+}
+
+build() {
+ cd "$pkgname-$pkgver"
+ dart compile exe -Dversion=$pkgver -o sass bin/sass.dart
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+
+ # binary
+ install -vDm755 -t "$pkgdir/usr/bin" sass
+
+ # license
+ install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE
+}
More information about the arch-commits
mailing list