vkbasalt/main.sh

28 lines
531 B
Bash
Raw Normal View History

2024-07-25 23:41:14 +02:00
#! /bin/bash
set -e
2024-07-26 00:34:12 +02:00
source ./pika-build-config.sh
2024-07-25 23:41:14 +02:00
echo "$PIKA_BUILD_ARCH" > pika-build-arch
VERSION="0.3.2.10"
2023-03-08 17:17:41 +01:00
# Clone Upstream
2024-07-25 23:41:14 +02:00
git clone https://github.com/DadSchoorse/vkBasalt.git -b v"$VERSION"
2023-03-08 17:17:41 +01:00
mv ./vkBasalt ./vkbasalt
cp -rvf ./debian ./vkbasalt
2023-03-08 17:37:49 +01:00
cd ./vkbasalt
2023-03-08 17:17:41 +01:00
# Get build deps
2024-07-25 23:41:14 +02:00
LOGNAME=root dh_make --createorig -y -l -p vkbasalt_"$VERSION" || echo "dh-make: Ignoring Last Error"
2023-03-08 17:17:41 +01:00
apt-get build-dep ./ -y
# Build package
2023-05-06 22:56:29 +02:00
dpkg-buildpackage --no-sign
2023-03-08 17:17:41 +01:00
# Move the debs to output
cd ../
mkdir -p ./output
mv ./*.deb ./output/