File: archlinux.sh

package info (click to toggle)
qrtr 1.2-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 300 kB
  • sloc: ansic: 2,623; sh: 84; python: 78; makefile: 6
file content (25 lines) | stat: -rwxr-xr-x 402 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/bin/sh
# SPDX-License-Identifier: GPL-2.0
#
# Copyright (c) 2021 Canonical Ltd.
# Copyright (c) 2023 Linaro Ltd
# Author: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
#                             <krzk@kernel.org>
#

set -ex

PKGS_CC="gcc"
case $CC in
	clang*)
		PKGS_CC="clang"
	;;
esac

pacman -Syu --noconfirm \
	systemd-libs \
	pkgconf \
	meson \
	$PKGS_CC

echo "Install finished: $0"