pkg-pwvucontrol/main.sh
Renaud Lepage 7b72f0f187
Some checks failed
PikaOS Package Build Only (amd64-v3) / build (push) Waiting to run
PikaOS Package Build Only (Canary) (i386) / build (push) Failing after 3m2s
PikaOS Package Build Only (Canary) (amd64-v3) / build (push) Failing after 3m5s
PikaOS Package Build Only (i386) / build (push) Failing after 2m52s
PikaOS Package Build & Release (Canary) (i386) / build (push) Failing after 23s
PikaOS Package Build & Release (Canary) (amd64-v3) / build (push) Failing after 26s
PikaOS Package Build & Release (i386) / build (push) Failing after 23s
PikaOS Package Build & Release (amd64-v3) / build (push) Failing after 2m47s
Initial config
2024-10-31 09:35:17 -07:00

34 lines
629 B
Bash
Executable File

#! /bin/bash
set -e
. ./pika-build-config.sh
echo "$PIKA_BUILD_ARCH" > pika-build-arch
VERSION="0.15.4"
# Clone Upstream
UPSTREAM_NAME="pwvucontrol"
# Checkout and munch
git clone https://github.com/saivert/pwvucontrol.git "${UPSTREAM_NAME}"
cp -rvf ./debian ./${UPSTREAM_NAME}/
# Get in there.
pushd "./${UPSTREAM_NAME}/" || exit 1
# Get build deps
LOGNAME=root dh_make --createorig -y -l -p ${UPSTREAM_NAME}_"$VERSION" || echo "dh-make: Ignoring Last Error"
apt -y update
apt -y build-dep ./
# Build package
dpkg-buildpackage --no-sign
popd || exit 2
# Move the debs to output
mkdir -p ./output
mv ./*.deb ./output/