From c63d94a6511d9f46d3ec77c4421decc3c4954716 Mon Sep 17 00:00:00 2001 From: hippoz <10706925-hippoz@users.noreply.gitlab.com> Date: Tue, 26 Jul 2022 01:03:51 +0300 Subject: [PATCH] new install script --- .gitignore | 1 + pkg/install.sh | 13 +++++++++++++ 2 files changed, 14 insertions(+) create mode 100755 pkg/install.sh diff --git a/.gitignore b/.gitignore index 85b5aa7..d19e540 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ +build/ builddir/ buildclang/ releaseclang/ diff --git a/pkg/install.sh b/pkg/install.sh new file mode 100755 index 0000000..5ae35ed --- /dev/null +++ b/pkg/install.sh @@ -0,0 +1,13 @@ +#!/bin/sh + +if ! command -v arch-meson &> /dev/null +then + echo "arch-meson not found, using meson" + meson build +else + echo "found arch-meson" + arch-meson . build +fi + +meson compile -C build +meson install -C build --destdir "$DEST"