build packages fix

This commit is contained in:
core 2023-06-27 09:01:10 -04:00
parent 639b841e08
commit 3a8565b9f1
Signed by: core
GPG Key ID: FDBF740DADDCEECF
1 changed files with 6 additions and 1 deletions

View File

@ -7,6 +7,10 @@ sources:
- https://git.e3t.cc/~core/trifid
tasks:
- archive: |
curl https://sh.rustup.rs -sSf | sh -s -- -y
source ~/.cargo/env
rustup target add x86_64-unknown-linux-musl
cd /home/build/trifid
describe=$(git describe)
@ -25,6 +29,7 @@ tasks:
echo "project=$project" >> ~/.buildenv
echo "pkgver=$pkgver" >> ~/.buildenv
- build: |
source ~/.cargo/env
cd /home/build/trifid/packages/void_amd64_$project
./build.sh
./build.sh /home/build/trifid $pkgver
sha256sum *.xbps