Skip to content

Commit

Permalink
feat: add build_meson function
Browse files Browse the repository at this point in the history
  • Loading branch information
Skythrew committed Jul 10, 2023
1 parent 1247520 commit 1ac3b64
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions scripts/stmk/stmk.sh
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,16 @@ build() {
fi
}

build_meson() {
mkdir build
cd build

meson setup --prefix=/usr --buildtype=release .. &&
ninja

DESTDIR=$PKG ninja install
}

build_python() {
python setup.py build
python setup.py install --root=$PKG
Expand Down

0 comments on commit 1ac3b64

Please sign in to comment.