name: package version: 0.2.0 sources: https://git.karchnu.fr/WeirdOS/package/archive/%{version}.tar.gz -> %{name}-%{version}.tar.gz build-dependencies: crystal, shards # FIXME: FIXME: Build this statically in. dependencies: gc, libevent, pcre dirname: package @configure cd %{dirname} shards install @build cd %{dirname} make PREFIX=/usr @install cd %{dirname} make PREFIX=/usr DESTDIR="%{pkg}" install