labwc-tweaks/main.sh

27 lines
500 B
Bash
Raw Permalink Normal View History

2023-06-17 11:33:04 +02:00
#! /bin/bash
2024-07-27 14:45:15 +02:00
set -e
VERSION="0.0.git"
source ./pika-build-config.sh
echo "$PIKA_BUILD_ARCH" > pika-build-arch
2023-06-17 11:33:04 +02:00
# Clone Upstream
2023-06-17 11:34:39 +02:00
git clone https://github.com/labwc/labwc-tweaks.git
2024-07-27 14:45:15 +02:00
cp -rvf ./debian ./labwc-tweaks
cd ./labwc-tweaks
2023-06-17 11:33:04 +02:00
# Get build deps
apt-get build-dep ./ -y
# Build package
2024-07-27 14:45:15 +02:00
LOGNAME=root dh_make --createorig -y -l -p labwc-tweaks_"$VERSION" || echo "dh-make: Ignoring Last Error"
2023-06-17 11:33:04 +02:00
dpkg-buildpackage --no-sign
# Move the debs to output
cd ../
mkdir -p ./output
mv ./*.deb ./output/