Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37507858
en ru br
Репозитории ALT

Группа :: Разработка/Прочее
Пакет: esbuild

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

%global import_path github.com/evanw/esbuild

%global _unpackaged_files_terminate_build 1

Name: esbuild
Version: 0.14.54
Release: alt1
Summary: An extremely fast JavaScript and CSS bundler and minifier
Group: Development/Other
License: MIT
Url: https://esbuild.github.io
Source: %name-%version.tar
Patch: %name-%version.patch

ExclusiveArch: %go_arches
BuildRequires(pre): rpm-build-golang
BuildRequires: node

%description
%summary.

%prep
%setup
%patch -p1

%build
export BUILDDIR="$PWD/.gopath"
export IMPORT_PATH="%import_path"
export GOPATH="$BUILDDIR:%go_path"
export GOFLAGS="-mod=vendor"

#%%golang_prepare

#pushd $BUILDDIR/src/%%import_path
#go install ./...
%make_build esbuild
#popd

%install
install -D -m 755 %name %buildroot%_bindir/%name

%files
%doc README.md
%_bindir/%name

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin