]> cvs.zerfleddert.de Git - m1-debian/blame - mesa.sh
generate changelog entry automatically
[m1-debian] / mesa.sh
CommitLineData
accb1901
TG
1#!/usr/bin/env bash
2
3set -o errexit
4set -o nounset
5set -o pipefail
6set -o xtrace
7
8cd "$(dirname "$0")"
9
10unset LC_CTYPE
11unset LANG
12
13main() {
4cad8286 14 mkdir -p build
accb1901 15 cd build
4cad8286 16 command -v git >/dev/null || sudo apt-get install git
accb1901
TG
17 test -d mesa || git clone https://gitlab.freedesktop.org/asahi/mesa.git
18 cd mesa
19 git fetch -a -t
20 rm -rf debian
21 cp -a ../../mesa-debian debian
67caaebe 22 EMAIL=thomas@glanzmann.de dch -v 23.0.0-`date +%Y%m%d%H%M` 'asahi wip'
4cad8286 23 sudo apt-get build-dep .
a035d70a 24 dpkg-buildpackage -uc -us -a arm64
accb1901
TG
25}
26
27main "$@"
Impressum, Datenschutz