yad/main.sh

27 lines
473 B
Bash
Raw Normal View History

2024-07-25 15:46:41 +02:00
#! /bin/bash
set -e
VERSION="14.1"
source ./pika-build-config.sh
echo "$PIKA_BUILD_ARCH" > pika-build-arch
2023-03-29 17:56:37 +02:00
# Clone Upstream
2024-07-25 15:46:41 +02:00
git clone https://github.com/v1cont/yad -b v"$VERSION"
2023-03-29 17:56:37 +02:00
cp -rvf ./debian ./yad
cd ./yad
# Get build deps
apt-get build-dep ./ -y
# Build package
2024-07-25 15:46:41 +02:00
LOGNAME=root dh_make --createorig -y -l -p yad_"$VERSION" || echo "dh-make: Ignoring Last Error"
2023-09-29 13:21:31 +02:00
dpkg-buildpackage --no-sign
2023-03-29 17:56:37 +02:00
# Move the debs to output
cd ../
mkdir -p ./output
mv ./*.deb ./output/