river/main.sh
ferreo 285d9cac20
Some checks failed
PikaOS Package Build & Release (amd64-v3) / build (push) Failing after 1m45s
initial packaging
2024-12-10 13:06:28 +00:00

27 lines
504 B
Bash
Executable File

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