Update package version to 5.4.8

This commit is contained in:
2025-09-18 16:13:19 +03:00
parent 14495a389b
commit f8f2be5438
3 changed files with 12 additions and 1 deletions
+8
View File
@@ -0,0 +1,8 @@
#!/bin/bash
URL="https://www.lua.org/download.html"
# Get version number from tag name
VERSION=$(curl -s -L "$URL" | grep -A1 'and its current release is' | grep -o -E '[0-9]{1,}\.[0-9]{1,}(\.[0-9]{1,})?' | head -n1)
echo "$VERSION"
+1 -1
View File
@@ -1,6 +1,6 @@
name: lua name: lua
description: A powerful, efficient, lightweight, embeddable scripting language description: A powerful, efficient, lightweight, embeddable scripting language
version: 5.4.6 version: 5.4.8
url: https://www.lua.org/ url: https://www.lua.org/
license: MIT license: MIT
architecture: any architecture: any
+3
View File
@@ -33,7 +33,10 @@ check() {
# This function is used to move the compiled files into the output directory # This function is used to move the compiled files into the output directory
package() { package() {
make INSTALL_TOP="$BPM_OUTPUT"/usr INSTALL_DATA="cp -d" INSTALL_MAN="$BPM_OUTPUT"/usr/share/man/man1 TO_LIB="liblua.so liblua.so.${BPM_PKG_VERSION%.*} liblua.so.${BPM_PKG_VERSION}" DESTDIR="$BPM_OUTPUT" install make INSTALL_TOP="$BPM_OUTPUT"/usr INSTALL_DATA="cp -d" INSTALL_MAN="$BPM_OUTPUT"/usr/share/man/man1 TO_LIB="liblua.so liblua.so.${BPM_PKG_VERSION%.*} liblua.so.${BPM_PKG_VERSION}" DESTDIR="$BPM_OUTPUT" install
# Install pkg-config file
install -Dm644 lua.pc "$BPM_OUTPUT"/usr/lib/pkgconfig/lua.pc install -Dm644 lua.pc "$BPM_OUTPUT"/usr/lib/pkgconfig/lua.pc
# Install license
install -Dm644 "$BPM_SOURCE"/doc/readme.html "$BPM_OUTPUT"/usr/share/licenses/lua/readme.html install -Dm644 "$BPM_SOURCE"/doc/readme.html "$BPM_OUTPUT"/usr/share/licenses/lua/readme.html
} }