ly/main.sh
ferreo bae0fa9d4d
Some checks failed
PikaOS Package Build & Release (amd64-v3) / build (push) Failing after 58s
Update package name to 'ly', set version to 1.0.2git, and adjust rules for building and installing
2024-12-02 18:54:18 +00:00

27 lines
484 B
Bash
Executable File

#! /bin/bash
set -e
. ./pika-build-config.sh
echo "$PIKA_BUILD_ARCH" > pika-build-arch
VERSION="1.0.2git"
# Clone Upstream
git clone --recurse-submodules https://github.com/fairyglade/ly.git
cp -rvf ./debian ./ly/
cd ./ly/
# Get build deps
LOGNAME=root dh_make --createorig -y -l -p ly_"$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/