neofetch/main.sh

25 lines
406 B
Bash
Raw Normal View History

2024-07-24 14:07:11 +02:00
#! /bin/bash
set -e
VERSION="7.1.0"
source ./pika-build-config.sh
echo "$PIKA_BUILD_ARCH" > pika-build-arch
2023-03-09 16:13:46 +01:00
# Clone Upstream
cd ./neofetch
# Get build deps
apt-get build-dep ./ -y
# Build package
2024-07-24 14:07:11 +02:00
LOGNAME=root dh_make --createorig -y -l -p neofetch_"$VERSION" || echo "dh-make: Ignoring Last Error"
dpkg-buildpackage --no-sign
2023-03-09 16:13:46 +01:00
# Move the debs to output
cd ../
mkdir -p ./output
mv ./*.deb ./output/