]>
Commit | Line | Data |
---|---|---|
accb1901 TG |
1 | #!/usr/bin/env bash |
2 | ||
3 | set -o errexit | |
4 | set -o nounset | |
5 | set -o pipefail | |
6 | set -o xtrace | |
7 | ||
8 | cd "$(dirname "$0")" | |
9 | ||
10 | unset LC_CTYPE | |
11 | unset LANG | |
12 | ||
13 | main() { | |
14 | sudo apt-get build-dep mesa | |
15 | cd build | |
16 | test -d mesa || git clone https://gitlab.freedesktop.org/asahi/mesa.git | |
17 | cd mesa | |
18 | git fetch -a -t | |
19 | rm -rf debian | |
20 | cp -a ../../mesa-debian debian | |
21 | fakeroot debian/rules binary | |
22 | } | |
23 | ||
24 | main "$@" |