desktop-base/main.sh
Ward from fusion-voyager-3 d32c7491eb add main
2024-07-24 18:57:01 +03:00

38 lines
1.5 KiB
Bash
Executable File

#! /bin/bash
set -e
source ./pika-build-config.sh
echo "$PIKA_BUILD_ARCH" > pika-build-arch
VERSION="13.3"
# Get logos
wget https://git.pika-os.com/website/pika-branding/raw/branch/main/logos/pika-logo.svg -O ./desktop-base/pika-logos/logo.svg
wget https://git.pika-os.com/website/pika-branding/raw/branch/main/logos/pika-logo-text.svg -O ./desktop-base/pika-logos/logo-text.svg
wget https://git.pika-os.com/website/pika-branding/raw/branch/main/logos/pika-logo-text-dark.svg -O ./desktop-base/pika-logos/logo-text-dark.svg
wget https://git.pika-os.com/website/pika-branding/raw/branch/main/logos/pika-simple.svg -O ./desktop-base/emblems-pika/emblem-pika-symbolic.svg
cp -vf ./desktop-base/pika-logos/logo.svg ./desktop-base/emblems-pika/emblem-pika.svg
cp -vf ./desktop-base/pika-logos/logo.svg ./desktop-base/logo.png
cp -vf ./desktop-base/pika-logos/logo.svg ./desktop-base/pixmaps/debian-security.png
cp -vf ./desktop-base/logos/logo-text.svg ./desktop-base/logos/logo-text-version.svg
cp -vf ./desktop-base/logos/logo-text-dark.svg ./desktop-base/logos/logo-text-dark-version.svg
cp -vf ./desktop-base/emblems-pika/emblem-pika-symbolic.svg ./desktop-base/emblems-pika/emblem-pika-white.svg
# Clone Upstream
cd ./desktop-base
# Get build deps
LOGNAME=root dh_make --createorig -y -l -p desktop-base_"$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/