mirror of
https://github.com/terrapkg/packages.git
synced 2026-05-31 09:01:55 +00:00
@@ -41,11 +41,13 @@ Packager: madonuko <mado@fyralabs.com>
|
||||
%autopatch -p1
|
||||
|
||||
%build
|
||||
cd cli
|
||||
%define currentgoldflags -X main.version=%version
|
||||
%define gomodulesmode GO111MODULE=on
|
||||
%gobuild -o %{gobuilddir}/bin/ags .
|
||||
|
||||
%install
|
||||
cd cli
|
||||
%gopkginstall
|
||||
install -m 0755 -vd %{buildroot}%{_bindir}
|
||||
install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/
|
||||
|
||||
Reference in New Issue
Block a user