initial commit

This commit is contained in:
Ward Nakchbandi (Cosmic Fusion) 2023-08-07 22:38:10 +03:00
parent d5ee9d94d2
commit 55ca61858a
2 changed files with 11 additions and 18 deletions

View File

@ -1,3 +1,6 @@
#! /bin/bash
set -e
# Clone Upstream
git clone https://gitlab.freedesktop.org/mesa/mesa
cp -rvf ./debian ./mesa/

View File

@ -1,21 +1,11 @@
#! /bin/bash
set -e
# Sign the packages
dpkg-sig --sign builder ./output/*.deb
# Clone Upstream
git clone https://gitlab.freedesktop.org/mesa/mesa
cp -rvf ./debian ./mesa/
cd ./mesa
touch debian/changelog
echo -e "mesa (23.3.git."$(git rev-parse --short HEAD)"-99pika"$(date '+%Y%m%d')") lunar; urgency=medium\n\n * New GIT Release\n\n -- Ward Nakchbandi <hotrod.master@hotmail.com> Sat, 01 Oct 2022 14:50:00 +0200" > debian/changelog
# Pull down existing ppa repo db files etc
rsync -azP --exclude '*.deb' ferreo@direct.pika-os.com:/srv/www/pikappa/ ./output/repo
# Get build deps
apt-get build-dep ./ -y
# Add the new package to the repo
reprepro -V --basedir ./output/repo/ includedeb lunar ./output/*.deb
# Build package
dpkg-buildpackage --no-sign
# Move the debs to output
cd ../
mkdir -p ./output
mv ./mesa-vulkan*.deb ./output/
# Push the updated ppa repo to the server
rsync -azP ./output/repo/ ferreo@direct.pika-os.com:/srv/www/pikappa/