Update package version to 5.4.8
This commit is contained in:
@@ -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,6 +1,6 @@
|
||||
name: lua
|
||||
description: A powerful, efficient, lightweight, embeddable scripting language
|
||||
version: 5.4.6
|
||||
version: 5.4.8
|
||||
url: https://www.lua.org/
|
||||
license: MIT
|
||||
architecture: any
|
||||
|
||||
@@ -33,7 +33,10 @@ check() {
|
||||
# This function is used to move the compiled files into the output directory
|
||||
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
|
||||
|
||||
# Install pkg-config file
|
||||
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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user