pikabar/main.sh
ferreo 94139db6d5
Some checks failed
PikaOS Package Build & Release (amd64-v3) / build (push) Failing after 33s
Pikabar v1
2024-11-17 14:55:38 +00:00

25 lines
404 B
Bash
Executable File

#! /bin/bash
set -e
VERSION="1.0.0"
source ./pika-build-config.sh
echo "$PIKA_BUILD_ARCH" > pika-build-arch
# Clone Upstream
cd ./pikabar
# Get build deps
apt-get build-dep ./ -y
# Build package
LOGNAME=root dh_make --createorig -y -l -p pikabar_"$VERSION" || echo "dh-make: Ignoring Last Error"
dpkg-buildpackage --no-sign
# Move the debs to output
cd ../
mkdir -p ./output
mv ./*.deb ./output/