pakur.sh 611 B

12345678910111213141516171819
  1. _majorver=${surum%.*}
  2. make \
  3. TO_LIB="liblua.a liblua.so liblua.so.$_majorver liblua.so.$surum" \
  4. INSTALL_DATA='cp -d' \
  5. INSTALL_TOP="$PKG"/usr \
  6. INSTALL_MAN="$PKG"/usr/share/man/man1 \
  7. install
  8. ln -sf /usr/bin/lua "$PKG"/usr/bin/lua$_majorver
  9. ln -sf /usr/bin/luac "$PKG"/usr/bin/luac$_majorver
  10. ln -sf /usr/lib/liblua.so.$surum "$PKG"/usr/lib/liblua$_majorver.so
  11. install -Dm644 lua.pc "$PKG"/usr/lib/pkgconfig/${isim}53.pc
  12. ln -sf /usr/lib/pkgconfig/${isim}53.pc "$PKG"/usr/lib/pkgconfig/$isim.pc
  13. install -Dm644 ../LICENSE "$PKG"/usr/share/licenses/$isim/LICENSE
  14. rm -r $PKG/usr/share/lua
  15. rm -r $PKG/usr/lib/lua