base-files/main.sh
Ward from fusion-voyager-3 c599011a8e
Some checks failed
PikaOS Package Build & Release (Canary) (amd64-v3) / build (push) Failing after 5s
port to PikaOS 4
2024-07-24 16:41:05 +03:00

31 lines
998 B
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-mono-small.svg -O ./base-files-not-yet/logos/pika-logo-duotone.svg
wget https://git.pika-os.com/website/pika-branding/raw/branch/main/logos/pika-logo-text-dark.svg -O ./base-files-not-yet/logos/pika-logo-text-dark.svg
wget https://git.pika-os.com/website/pika-branding/raw/branch/main/logos/pika-logo-text.svg -O ./base-files-not-yet/logos/pika-logo-text.svg
wget https://git.pika-os.com/website/pika-branding/raw/branch/main/logos/pika-logo.svg -O ./base-files-not-yet/logos/pika-logo.svg
# Clone Upstream
cd ./base-files-not-yet
# Get build deps
LOGNAME=root dh_make --createorig -y -l -p base-files_"$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/