-
-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: madomado <[email protected]>
- Loading branch information
Showing
1 changed file
with
6 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,17 +7,22 @@ Summary: Easily install and manage multiple versions of the Nim programming lan | |
License: BSD-3-Clause | ||
URL: https://github.com/nim-lang/choosenim | ||
Source0: %url/archive/refs/tags/v%version.tar.gz | ||
Source1: https://nim-lang.org/download/nim-%nimver-linux_x64.tar.xz | ||
Packager: madonuko <[email protected]> | ||
BuildRequires: nim nim-tools git-core anda-srpm-macros | ||
BuildRequires: git-core anda-srpm-macros | ||
#BuildRequires: nim nim-tools | ||
|
||
%description | ||
choosenim installs the Nim programming language from official downloads and | ||
sources, enabling you to easily switch between stable and development compilers. | ||
|
||
%prep | ||
%autosetup | ||
tar -xvJf %SOURCE1 | ||
|
||
%build | ||
NIMPATH=`pwd`/nim-%nimver/bin | ||
PATH=$PATH:$NIMPATH | ||
%nim_c src/choosenim | ||
|
||
%install | ||
|