#! /bin/bash set -e source ./pika-build-config.sh echo "$PIKA_BUILD_ARCH" > pika-build-arch VERSION="13.3" # Get logos mkdir -p ./base-files-not-yet/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/