From 1f8db0de265efbf030cce15037e52e2f1023ace9 Mon Sep 17 00:00:00 2001 From: Cappy Ishihara Date: Tue, 11 Oct 2022 10:08:08 +0700 Subject: [PATCH] add sass --- anda/sass/anda.hcl | 6 ++++++ anda/sass/sass.spec | 38 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 44 insertions(+) create mode 100644 anda/sass/anda.hcl create mode 100644 anda/sass/sass.spec diff --git a/anda/sass/anda.hcl b/anda/sass/anda.hcl new file mode 100644 index 0000000000..80ca8d915f --- /dev/null +++ b/anda/sass/anda.hcl @@ -0,0 +1,6 @@ +project "pkg" { + rpm { + spec = "sass.spec" + sources = "." + } +} \ No newline at end of file diff --git a/anda/sass/sass.spec b/anda/sass/sass.spec new file mode 100644 index 0000000000..2f0edc6b0f --- /dev/null +++ b/anda/sass/sass.spec @@ -0,0 +1,38 @@ +# https://file.coffee/u/Gz5mMFn8_KItLQ.jpg +%global debug_package %{nil} +%global __os_install_post %{nil} +%define _build_id_links none + +Name: sass +Version: 1.53.0 +Release: 5%{?dist} +Summary: The reference implementation of Sass, written in Dart +License: MIT +URL: https://sass-lang.com/dart-sass + +Source0: https://github.com/sass/dart-sass/archive/refs/tags/%{version}.tar.gz + +BuildRequires: dart + +%description +Dart Sass is the primary implementation of Sass, which means it gets new features before any other implementation. It's fast, easy to install, and it compiles to pure JavaScript which makes it easy to integrate into modern web development workflows. + +%prep +%setup -q -n dart-sass-%{version} +/usr/bin/dart pub get + +%build +dart compile exe ./bin/sass.dart -o sass + +%install +mkdir -p %{buildroot}%{_bindir} +install -m 755 sass %{buildroot}%{_bindir}/sass + +%files +%{_bindir}/sass +%license LICENSE +%doc README.md + +%changelog +* Tue Oct 11 2022 Cappy Ishihara - 1.53.0-5 +- Repackaged from tauOS repository