mirror of
https://github.com/terrapkg/packages.git
synced 2026-05-31 09:01:55 +00:00
fix: bat-extras (#3070)
* chore(bat-extras): move folder out of langs/rust because it's not actually written in rust * fix(bat-extras): skip verification and misc fix
This commit is contained in:
@@ -7,7 +7,7 @@ Summary: Bash scripts that integrate bat with various command line tools
|
||||
|
||||
License: MIT
|
||||
URL: https://github.com/eth-p/bat-extras
|
||||
Source0: https://github.com/eth-p/bat-extras/archive/refs/tags/v%{version}.tar.gz
|
||||
Source0: %{url}/archive/v%{version}.tar.gz
|
||||
|
||||
BuildRequires: bash
|
||||
Requires: bash
|
||||
@@ -17,25 +17,23 @@ BuildArch: noarch
|
||||
%{summary}.
|
||||
|
||||
%prep
|
||||
%autosetup -n bat-extras-%{version}
|
||||
%autosetup
|
||||
|
||||
|
||||
%build
|
||||
# ./build.sh --no-verify
|
||||
|
||||
|
||||
%install
|
||||
./build.sh --install --prefix=%{buildroot}%{_prefix}
|
||||
./build.sh --install --prefix=%{buildroot}%{_prefix} --no-verify
|
||||
|
||||
mkdir -p %{buildroot}%{_mandir}/man1/
|
||||
cp -v man/* %{buildroot}%{_mandir}/man1/
|
||||
|
||||
chmod -x %_mandir/man1/*
|
||||
chmod -x %{buildroot}%{_mandir}/man1/*
|
||||
|
||||
|
||||
%files
|
||||
%license LICENSE.md
|
||||
%doc doc/
|
||||
%{_bindir}/bat*
|
||||
%{_bindir}/prettybat
|
||||
%{_mandir}/man1/*
|
||||
Reference in New Issue
Block a user