name: networkctl release: 1 version: 0.0.1 sources: https://git.karchnu.fr/WeirdOS/%{name}/archive/%{name}-%{version}.tar.gz build-dependencies: gc-dev, pcre-dev, crystal, crystal-dev, musl-dev, make, ipaddress.cr dirname: %{name} @configure true @build cd %{dirname} make CRFLAGS=--static @install cd %{dirname} make PREFIX="%{prefix}" DESTDIR="%{pkg}" install