desktop-base/main.sh

38 lines
1.5 KiB
Bash
Raw Normal View History

2024-07-24 17:49:28 +02:00
#! /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
2024-07-24 20:20:49 +02:00
cp -vf ./desktop-base/pika-logos/logo-text.svg ./desktop-base/pika-logos/logo-text-version.svg
cp -vf ./desktop-base/pika-logos/logo-text-dark.svg ./desktop-base/pika-logos/logo-text-dark-version.svg
2024-07-24 17:49:28 +02:00
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/