Update package version to 7.0.3

This commit is contained in:
2025-08-15 18:50:45 +03:00
parent 20e5a1bc0e
commit 99e130ff5d
3 changed files with 17 additions and 4 deletions
+7 -2
View File
@@ -15,7 +15,11 @@ prepare() {
# The build function is executed in the source directory
# This function is used to compile the source code
build() {
CC=gcc ./configure --prefix=/usr -G -O3 -r
# Set CC and CFLAGS environments variables
export CFLAGS="${CFLAGS} -std=c99"
export CC=gcc
./configure --prefix=/usr -G -O3 -r
make
}
@@ -29,6 +33,7 @@ check() {
# This function is used to move the compiled files into the output directory
package() {
make DESTDIR="$BPM_OUTPUT" install
# Install package licence
install -Dm644 LICENSE.md "$BPM_OUTPUT"/usr/share/licenses/bc/LICENSE.md
}