mirror of
https://github.com/terrapkg/packages.git
synced 2026-06-06 11:52:17 +00:00
(cherry picked from commit c012c6f94e)
Co-authored-by: madomado <madonuko@outlook.com>
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
project pkg {
|
||||
rpm {
|
||||
spec = "mkfstab.spec"
|
||||
}
|
||||
}
|
||||
@@ -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
|
||||
@@ -0,0 +1 @@
|
||||
rpm.version(gh("Ultramarine-Linux/mkfstab"));
|
||||
Reference in New Issue
Block a user