Update main.sh

This commit is contained in:
ferreo 2024-10-19 16:19:21 +02:00
parent 9f8bda311f
commit 8370bb4c72

11
main.sh
View File

@ -9,12 +9,15 @@ echo "$PIKA_BUILD_ARCH" > pika-build-arch
VERSION="1.0"
# Clone Upstream
mkdir -p ./src-pkg-name
cp -rvf ./debian ./src-pkg-name/
cd ./src-pkg-name/
git clone https://github.com/xhess/apt-btrfs-snapper
cp -rvf ./debian ./apt-btrfs-snapper/
cd ./apt-btrfs-snapper/
chmod +x apt-btrfs-snapper
chmod +x 80snapper
mv 80snapper 80apt-btrfs-snapper
# Get build deps
LOGNAME=root dh_make --createorig -y -l -p src-pkg-name_"$VERSION" || echo "dh-make: Ignoring Last Error"
LOGNAME=root dh_make --createorig -y -l -p apt-btrfs-snapper_"$VERSION" || echo "dh-make: Ignoring Last Error"
apt-get build-dep ./ -y
# Build package