rofi-wayland/main.sh
Ward from fusion-voyager-3 170a089f8d port to pika os 4
2024-07-26 19:11:08 +03:00

28 lines
540 B
Bash
Executable File

#! /bin/bash
set -e
VERSION="1.7.5"
GIT_BRANCH="1.7.5+wayland3"
source ./pika-build-config.sh
echo "$PIKA_BUILD_ARCH" > pika-build-arch
# Clone Upstream
git clone --recurse-submodules https://github.com/lbonn/rofi.git -b "$GIT_BRANCH"
cp -rvf ./debian ./rofi
cd ./rofi
# Get build deps
apt-get build-dep ./ -y
# Build package
LOGNAME=root dh_make --createorig -y -l -p rofi-wayland_"$VERSION" || echo "dh-make: Ignoring Last Error"
dpkg-buildpackage --no-sign
# Move the debs to output
cd ../
mkdir -p ./output
mv ./*.deb ./output/