2023-05-24 23:52:36 +02:00
|
|
|
#! /bin/bash
|
|
|
|
|
2024-07-28 00:44:11 +02:00
|
|
|
set -e
|
|
|
|
|
|
|
|
VERSION="1.6"
|
|
|
|
|
|
|
|
source ./pika-build-config.sh
|
|
|
|
|
|
|
|
echo "$PIKA_BUILD_ARCH" > pika-build-arch
|
2023-05-24 23:52:36 +02:00
|
|
|
|
|
|
|
# Clone Upstream
|
2024-07-28 00:44:11 +02:00
|
|
|
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
|
2024-07-28 11:54:40 +02:00
|
|
|
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
|
2023-05-25 00:28:54 +02:00
|
|
|
cd ./pika-refind-theme
|
2023-05-24 23:52:36 +02:00
|
|
|
|
|
|
|
# Get build deps
|
|
|
|
apt-get build-dep ./ -y
|
|
|
|
|
|
|
|
# Build package
|
2024-07-28 00:46:40 +02:00
|
|
|
LOGNAME=root dh_make --createorig -y -l -p pika-refind-theme_"$VERSION" || echo "dh-make: Ignoring Last Error"
|
2023-05-24 23:52:36 +02:00
|
|
|
dpkg-buildpackage --no-sign
|
|
|
|
|
|
|
|
# Move the debs to output
|
|
|
|
cd ../
|
|
|
|
mkdir -p ./output
|
|
|
|
mv ./*.deb ./output/
|