mirror of
https://github.com/terrapkg/packages.git
synced 2026-06-03 18:32:18 +00:00
f3d4d67d0f
* bump: flow * bump: yt-dlp * bump: mpv * bump: prismlauncher-nightly * bump: envision * bump: albius * bump:cros-keyboard-map * bump: nim-nightly * bump: rpi-utils * bump: nvidia-patch * bump: opentabletdriver-nightly * bump: zed-nightly
31 lines
701 B
RPMSpec
31 lines
701 B
RPMSpec
%global commit b0a1b80acbcb5f7483789ea8545912f8eb3edd85
|
|
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
|
%global commit_date 20241126
|
|
|
|
Name: flow-control-nightly
|
|
Version: %commit_date.%shortcommit
|
|
Release: 1%?dist
|
|
Summary: A programmer's text editor
|
|
License: MIT
|
|
URL: https://github.com/neurocyte/flow
|
|
Source0: %url/archive/%commit.tar.gz
|
|
BuildRequires: zig
|
|
Provides: flow = %version-%release
|
|
|
|
%description
|
|
%summary.
|
|
|
|
%prep
|
|
%autosetup -n flow-%commit
|
|
|
|
%build
|
|
zig build -Doptimize=ReleaseFast --release=fast
|
|
|
|
%install
|
|
install -Dpm755 zig-out/bin/flow %buildroot%_bindir/flow
|
|
|
|
%files
|
|
%doc README.md help.md
|
|
%license LICENSE
|
|
%_bindir/flow
|