mirror of
https://github.com/terrapkg/packages.git
synced 2026-05-31 09:01:55 +00:00
Compare commits
3 Commits
465f11d242
...
mado/w/bun
| Author | SHA1 | Date | |
|---|---|---|---|
| ada046ed2d | |||
| a55a388772 | |||
| 0169025601 |
@@ -1,5 +1,7 @@
|
||||
%define debug_package %nil
|
||||
%ifarch x86_64
|
||||
%ifarch x86_64_v3
|
||||
%global a x64
|
||||
%elifarch x86_64
|
||||
%global a x64-baseline
|
||||
%elifarch aarch64
|
||||
%global a aarch64
|
||||
@@ -7,12 +9,11 @@
|
||||
|
||||
Name: bun-bin
|
||||
Version: 1.2.14
|
||||
Release: 2%?dist
|
||||
Release: 3%?dist
|
||||
Summary: Incredibly fast JavaScript runtime, bundler, test runner, and package manager – all in one
|
||||
License: MIT
|
||||
URL: https://bun.sh
|
||||
Source0: https://github.com/oven-sh/bun/releases/download/bun-v%version/bun-linux-%a.zip
|
||||
BuildRequires: unzip
|
||||
|
||||
%description
|
||||
%summary.
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
if sh("ps | grep anda | wc -l", #{ "stdout": "piped" }).ctx.stdout[0] == "1" {
|
||||
print("pre: building for x86_64_v3 first");
|
||||
sh("../anda/target/debug/anda build devs/bun -rrpmbuild --rpm-target x86_64_v3", #{});
|
||||
}
|
||||
Reference in New Issue
Block a user