new install script

This commit is contained in:
hippoz 2022-07-26 01:03:51 +03:00
parent 711c244ef2
commit c63d94a651
Signed by: hippoz
GPG key ID: 7C52899193467641
2 changed files with 14 additions and 0 deletions

1
.gitignore vendored
View file

@ -1,3 +1,4 @@
build/
builddir/
buildclang/
releaseclang/

13
pkg/install.sh Executable file
View file

@ -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"