Compare commits

..

No commits in common. "ab1b5765a11ad571a374e0ef5d6be0029de410f4" and "8d9401b385fadff6cc47b52ebbcaf73a2cf749ab" have entirely different histories.

3 changed files with 2 additions and 53 deletions

View file

@ -30,24 +30,16 @@ for package in "${PACKAGES[@]}"; do
# capture output for parsing dependencies
makepkg_output=$(makepkg --printsrcinfo)
#
# cache various downloads
#
# rust - crates
# cache downloaded crates
if grep -q "depends = rust\|cargo" <<<"$makepkg_output"; then
EXTRA_ARGS+=(--bind-rw /var/cache/cargo:/build/.cargo)
fi
# go - modules
# cache downloaded modules
if grep -q "depends = go" <<<"$makepkg_output"; then
EXTRA_ARGS+=(--bind-rw /var/cache/golang:/build/go)
fi
# dart - packages
if grep -q "depends = dart" <<<"$makepkg_output"; then
EXTRA_ARGS+=(--bind-rw /var/cache/dartlang:/build/.pub-cache)
fi
# build signed package in chroot & add to local repo
aur build \
--chroot \

View file

@ -90,11 +90,6 @@ to_pattern = '\1.\2.\3'
# github
[dart-sass]
source = "github"
github = "sass/dart-sass"
use_max_tag = true
[elfshaker]
source = "github"
github = "elfshaker/elfshaker"

View file

@ -1,38 +0,0 @@
# Maintainer: George Rawlinson <grawlinson@archlinux.org>
# Contributor: Thayne McCombs <astrothayne@gmail.com>
pkgname=dart-sass
pkgver=1.43.5
pkgrel=1
pkgdesc="Sass makes CSS fun again"
arch=('x86_64')
url='http://sass-lang.com/'
license=('MIT')
makedepends=('dart')
options=('!strip')
provides=('sass')
conflicts=('ruby-sass')
source=("$pkgname-$pkgver.tar.gz::https://github.com/sass/$pkgname/archive/$pkgver.tar.gz")
b2sums=('8b02eaab47bddd9466e55edfead40895833eb635616dfd4c30206e6bed12227a6ac2a19521be0a246ba9b8cdd5fd90b5c0f821446ce825f6ddd210fbd39965a1')
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
}