2024-07-24 15:41:05 +02:00
|
|
|
#! /bin/bash
|
|
|
|
|
|
|
|
set -e
|
|
|
|
|
|
|
|
source ./pika-build-config.sh
|
|
|
|
|
|
|
|
echo "$PIKA_BUILD_ARCH" > pika-build-arch
|
|
|
|
|
|
|
|
VERSION="13.3"
|
|
|
|
|
2023-09-16 12:27:59 +02:00
|
|
|
# Get logos
|
2024-07-24 15:44:36 +02:00
|
|
|
mkdir -p ./base-files-not-yet/logos/
|
2024-07-24 15:41:05 +02:00
|
|
|
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
|
2023-09-16 12:27:59 +02:00
|
|
|
|
2023-03-02 22:16:54 +01:00
|
|
|
# Clone Upstream
|
2024-07-24 15:41:05 +02:00
|
|
|
cd ./base-files-not-yet
|
2023-03-02 22:16:54 +01:00
|
|
|
|
|
|
|
# Get build deps
|
2024-07-24 15:41:05 +02:00
|
|
|
LOGNAME=root dh_make --createorig -y -l -p base-files_"$VERSION" || echo "dh-make: Ignoring Last Error"
|
2023-03-02 22:16:54 +01:00
|
|
|
apt-get build-dep ./ -y
|
|
|
|
|
|
|
|
# Build package
|
2023-09-11 21:24:38 +02:00
|
|
|
dpkg-buildpackage --no-sign
|
2023-03-02 22:16:54 +01:00
|
|
|
|
|
|
|
# Move the debs to output
|
|
|
|
cd ../
|
|
|
|
mkdir -p ./output
|
2023-03-03 15:38:57 +01:00
|
|
|
mv ./*.deb ./output/
|