new install script
This commit is contained in:
parent
711c244ef2
commit
c63d94a651
2 changed files with 14 additions and 0 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,3 +1,4 @@
|
|||
build/
|
||||
builddir/
|
||||
buildclang/
|
||||
releaseclang/
|
||||
|
|
13
pkg/install.sh
Executable file
13
pkg/install.sh
Executable 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"
|
Loading…
Reference in a new issue