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 # Clone Upstream
git clone https://gitlab.freedesktop.org/mesa/mesa git clone https://gitlab.freedesktop.org/mesa/mesa
cp -rvf ./debian ./mesa/ cp -rvf ./debian ./mesa/

View File

@ -1,21 +1,11 @@
#! /bin/bash # Sign the packages
set -e dpkg-sig --sign builder ./output/*.deb
# Clone Upstream # Pull down existing ppa repo db files etc
git clone https://gitlab.freedesktop.org/mesa/mesa rsync -azP --exclude '*.deb' ferreo@direct.pika-os.com:/srv/www/pikappa/ ./output/repo
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
# Get build deps # Add the new package to the repo
apt-get build-dep ./ -y reprepro -V --basedir ./output/repo/ includedeb lunar ./output/*.deb
# Build package # Push the updated ppa repo to the server
rsync -azP ./output/repo/ ferreo@direct.pika-os.com:/srv/www/pikappa/
dpkg-buildpackage --no-sign
# Move the debs to output
cd ../
mkdir -p ./output
mv ./mesa-vulkan*.deb ./output/