mirror of
https://github.com/terrapkg/packages.git
synced 2026-05-31 09:01:55 +00:00
metainfo: Deno (#7707)
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
<name>Deno</name>
|
||||
<summary>A modern runtime for JavaScript and TypeScript.</summary>
|
||||
|
||||
<icon>https://deno.com/logo.svg</icon>
|
||||
<description>
|
||||
<p>
|
||||
Deno (/ˈdiːnoʊ/, pronounced dee-no) is a JavaScript, TypeScript, and WebAssembly runtime with secure defaults and a great developer experience.
|
||||
|
||||
@@ -1,12 +1,13 @@
|
||||
%undefine __brp_mangle_shebangs
|
||||
# Generated by rust2rpm 27
|
||||
%bcond check 0
|
||||
|
||||
%global appid land.deno.deno
|
||||
%global appstream_component runtime
|
||||
%global crate deno
|
||||
|
||||
Name: rust-deno
|
||||
Version: 2.5.6
|
||||
Release: 2%?dist
|
||||
Release: 3%?dist
|
||||
Summary: Deno executable
|
||||
|
||||
License: MIT
|
||||
@@ -44,7 +45,7 @@ License: ((Apache-2.0 OR MIT) AND BSD-3-Clause) AND ((MIT OR Apache-2.0)
|
||||
%license LICENSE.md
|
||||
%license LICENSE.dependencies
|
||||
%doc README.md
|
||||
%{_metainfodir}/land.deno.deno.metainfo.xml
|
||||
%{_metainfodir}/%{appid}.metainfo.xml
|
||||
%{_bindir}/deno
|
||||
|
||||
%pkg_completion -Bfzn %crate
|
||||
@@ -56,6 +57,7 @@ License: ((Apache-2.0 OR MIT) AND BSD-3-Clause) AND ((MIT OR Apache-2.0)
|
||||
cp %{S:1} .
|
||||
cp %{S:2} gcc
|
||||
|
||||
|
||||
%global __cc %_builddir/%buildsubdir/gcc
|
||||
sed '/\[env\]/a CC="%__cc"' -i .cargo/config
|
||||
|
||||
@@ -71,4 +73,4 @@ target/rpm/deno completions bash > %buildroot%bash_completions_dir/deno
|
||||
%dnl target/rpm/deno completions elvish > %buildroot%elvish_completions_dir/deno.elv
|
||||
target/rpm/deno completions fish > %buildroot%fish_completions_dir/deno.fish
|
||||
target/rpm/deno completions zsh > %buildroot%zsh_completions_dir/_deno
|
||||
install -Dm644 %{S:3} -t %buildroot%{_metainfodir}
|
||||
%terra_appstream -o %{SOURCE3}
|
||||
|
||||
Reference in New Issue
Block a user