4f9c32ad41
All checks were successful
PikaOS Package Build & Release (Canary) (amd64-v3) / build (push) Successful in 13s
21 lines
401 B
Bash
Executable File
21 lines
401 B
Bash
Executable File
#! /bin/bash
|
|
|
|
DEBIAN_FRONTEND=noninteractive
|
|
VERSION="0.2.37"
|
|
|
|
# Clone Upstream
|
|
cp -rvf ./debian ./pika-pbuilder/
|
|
cd ./pika-pbuilder/
|
|
|
|
# Get build deps
|
|
LOGNAME=root dh_make --createorig -y -l -p pika-pbuilder_"$VERSION" || echo "dh-make: Ignoring Last Error"
|
|
apt-get build-dep ./ -y
|
|
|
|
# Build package
|
|
dpkg-buildpackage --no-sign
|
|
|
|
# Move the debs to output
|
|
cd ../
|
|
mkdir -p ./output
|
|
mv ./*.deb ./output/
|