Skip to content

Commit

Permalink
fix headers not installed
Browse files Browse the repository at this point in the history
  • Loading branch information
mbekkomo committed Jun 9, 2024
1 parent 487a904 commit f6aa8cc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/lua53-lpeg/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ termux_step_make() {
}

termux_step_make_install() {
sed -Ei 's|"(lp.+\.h)"|"lpeg/\1"|' lpeg-53/*.h
install -Dm600 -t "${TERMUX_PREFIX}/include/lpeg" lpeg-53/*.h
sed -Ei 's|"(lp.+\.h)"|"lpeg/\1"|' "${TERMUX_PKG_SRCDIR}"/*.h
install -Dm600 -t "${TERMUX_PREFIX}/include/lpeg" "${TERMUX_PKG_SRCDIR}"/*.h
for lua in "${LUA[@]}"; do
install -Dm600 lpeg-"${lua//./}"/liblpeg.so "$TERMUX_PREFIX"/lib/liblpeg-"$lua".so
mkdir -p "${TERMUX_PREFIX}/lib/lua/$lua"
Expand Down

0 comments on commit f6aa8cc

Please sign in to comment.