Skip to content

Commit

Permalink
add: mkfstab (#1303)
Browse files Browse the repository at this point in the history
  • Loading branch information
madonuko authored May 31, 2024
1 parent 07c5fa1 commit c012c6f
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 0 deletions.
5 changes: 5 additions & 0 deletions anda/langs/nim/mkfstab/anda.hcl
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
project pkg {
rpm {
spec = "mkfstab.spec"
}
}
26 changes: 26 additions & 0 deletions anda/langs/nim/mkfstab/mkfstab.spec
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
Name: mkfstab
Version: 0.1.1
Release: 1%?dist
Summary: An alternative to genfstab: generate output suitable for addition to /etc/fstab
License: MIT
URL: https://github.com/Ultramarine-Linux/mkfstab
Source0: %url/archive/refs/tags/v%version.tar.gz
BuildRequires: nim anda-srpm-macros

%description
An alternative to genfstab from Arch Linux. This is a dead simple but faster implementation of genfstab.

%prep
%autosetup

%build
nimble setup -y
nim c %nim_c src/%name

%install
install -Dpm755 src/%name %buildroot%_bindir/%name

%files
%doc README.md
%license LICENSE
%_bindir/%name
1 change: 1 addition & 0 deletions anda/langs/nim/mkfstab/update.rhai
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
rpm.version(gh("Ultramarine-Linux/mkfstab"));

0 comments on commit c012c6f

Please sign in to comment.