mirror of
https://github.com/terrapkg/packages.git
synced 2026-06-04 02:42:19 +00:00
* add: umdive
* fix(dive): %install
Signed-off-by: madomado <madonuko@outlook.com>
---------
Signed-off-by: madomado <madonuko@outlook.com>
(cherry picked from commit 6a688a7990)
Co-authored-by: madomado <madonuko@outlook.com>
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
project pkg {
|
||||
rpm {
|
||||
spec = "umdive.spec"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
Name: umdive
|
||||
Version: 0.1.1
|
||||
Release: 1%?dist
|
||||
Summary: Chroot utility (just like arch-chroot)
|
||||
License: MIT
|
||||
URL: https://github.com/Ultramarine-Linux/dive
|
||||
Source0: %url/archive/refs/tags/v%version.tar.gz
|
||||
Requires: (%_bindir/chroot or %_sbindir/chroot)
|
||||
Requires: %_bindir/mount
|
||||
BuildRequires: anda-srpm-macros nim
|
||||
Provides: dive = %version-%release
|
||||
|
||||
%description
|
||||
%summary.
|
||||
|
||||
%prep
|
||||
%autosetup -n dive-%version
|
||||
|
||||
%build
|
||||
nimble setup -y
|
||||
nim c %nim_c src/dive
|
||||
|
||||
%install
|
||||
install -Dpm755 src/dive %buildroot%_bindir/dive
|
||||
|
||||
%files
|
||||
%doc README.md
|
||||
%license LICENSE
|
||||
%_bindir/dive
|
||||
@@ -0,0 +1 @@
|
||||
rpm.version(gh("Ultramarine-Linux/dive"));
|
||||
Reference in New Issue
Block a user