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"