c0e9af4f88
All checks were successful
PikaOS Package Build & Release (Canary) (amd64-v3) / build (push) Successful in 12s
27 lines
749 B
Bash
Executable File
27 lines
749 B
Bash
Executable File
#! /bin/bash
|
|
|
|
set -e
|
|
|
|
VERSION="1.6"
|
|
|
|
source ./pika-build-config.sh
|
|
|
|
echo "$PIKA_BUILD_ARCH" > pika-build-arch
|
|
|
|
# Clone Upstream
|
|
wget https://github.com/PikaOS-Linux/pika-branding/raw/main/logos/pika-logo-nv.png -O ./pika-refind-theme/usr/share/pika-refind/theme/refind-dark/icons/os_pikaos.png
|
|
cp ./pika-refind-theme/usr/share/pika-refind/theme/refind-dark/icons/os_pikaos.png ./pika-refind-theme/usr/share/pika-refind/theme/refind-dark/icons/os_pika.png
|
|
cd ./pika-refind-theme
|
|
|
|
# Get build deps
|
|
apt-get build-dep ./ -y
|
|
|
|
# Build package
|
|
LOGNAME=root dh_make --createorig -y -l -p pika-refind-theme_"$VERSION" || echo "dh-make: Ignoring Last Error"
|
|
dpkg-buildpackage --no-sign
|
|
|
|
# Move the debs to output
|
|
cd ../
|
|
mkdir -p ./output
|
|
mv ./*.deb ./output/
|