first commit

This commit is contained in:
Ward Nakchbandi (Cosmic Fusion) 2023-08-11 22:02:52 +03:00
parent b537c955eb
commit 49ff1c2d2c
2 changed files with 9 additions and 18 deletions

View File

@ -2,10 +2,7 @@
set -e set -e
# Clone Upstream # Clone Upstream
git clone https://gitlab.freedesktop.org/mesa/mesa -b mesa-23.1.5 cd ./mesa-pika
cp -rvf ./debian ./mesa/
cd ./mesa
sed -i ' 1 s/.*/& - PikaOS YellowBirb Mesa Stable/' ./VERSION
# Get build deps # Get build deps
apt-get build-dep ./ -y apt-get build-dep ./ -y

View File

@ -1,17 +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
cd ./mesa-pika rsync -azP --exclude '*.deb' ferreo@direct.pika-os.com:/srv/www/pikappa/ ./output/repo
# 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 ./*.deb ./output/