061e396522
All checks were successful
PikaOS Package Build & Release (amd64-v3) / build (push) Successful in 45s
28 lines
893 B
Bash
Executable File
28 lines
893 B
Bash
Executable File
#! /bin/bash
|
|
|
|
set -e
|
|
|
|
. ./pika-build-config.sh
|
|
|
|
echo "$PIKA_BUILD_ARCH" > pika-build-arch
|
|
|
|
VERSION="1.0"
|
|
|
|
# Clone Upstream
|
|
wget https://git.pika-os.com/website/pika-branding/raw/branch/main/logos/pika-logo-text-dark-nv.png -O ./plymouth-theme-pika/usr/share/plymouth/themes/pika/watermark.png
|
|
wget https://git.pika-os.com/website/pika-branding/raw/branch/main/logos/pika-simple-small-nv.png -O ./plymouth-theme-pika/usr/share/plymouth/themes/pika/bgrt-fallback.png
|
|
cp -vf ./plymouth-theme-pika/usr/share/plymouth/themes/pika/watermark.png ./plymouth-theme-pika/usr/share/plymouth/pika-logo.png
|
|
cd ./plymouth-theme-pika/
|
|
|
|
# Get build deps
|
|
LOGNAME=root dh_make --createorig -y -l -p plymouth-theme-pika_"$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/
|