Obsolete
/
recipes
Archived
3
0
Fork 0

package: build configuration updated

master
Luka Vandervelden 2019-09-02 16:34:04 +02:00
parent c58a0287eb
commit 70e2fa250c
1 changed files with 3 additions and 2 deletions

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"