Archived
3
0

package: build configuration updated

This commit is contained in:
Luka Vandervelden 2019-09-02 16:34:04 +02:00
parent c58a0287eb
commit 70e2fa250c

View File

@ -1,5 +1,6 @@
name: package
version: 0.6.0
release: 2
sources:
- https://git.karchnu.fr/WeirdOS/package/archive/%{version}.tar.gz -> %{name}-%{version}.tar.gz
- config.cfg
@ -17,10 +18,10 @@ dirname: package
shards install
@build
cd %{dirname}
make PREFIX="%{prefix}"
make PREFIX="%{prefix}" SYSCONFDIR="/etc"
@install
cd %{dirname}
make PREFIX="%{prefix}" DESTDIR="%{pkg}" install
make PREFIX="%{prefix}" SYSCONFDIR="/etc" DESTDIR="%{pkg}" install
mkdir -p "%{pkg}/etc"
cp ../config.cfg "%{pkg}/etc/package.cfg"