image: archlinux packages: - xbps-static-bin - openssl - go sources: - https://git.e3t.cc/~core/trifid tasks: - archive: | cd /home/build/trifid describe=$(git describe) if [[ $describe == tfclient* ]]; then project=tfclient fi if [[ $describe == tfcli* ]]; then project=tfcli fi if [[ $describe == trifid-api* ]]; then project=trifid-api fi pkgver=$(git describe | sed -e 's/$project-v//g' | sed -e 's/-/_/g') echo "project=$project" >> ~/.buildenv echo "pkgver=$pkgver" >> ~/.buildenv - build: | cd /home/build/trifid/packages/void_amd64_$project ./build.sh sha256sum *.xbps