Update package version to 668

This commit is contained in:
2025-05-11 13:02:07 +03:00
parent 684727a231
commit 676abf6467
3 changed files with 15 additions and 11 deletions
+5 -7
View File
@@ -15,18 +15,16 @@ prepare() {
# The build function is executed in the source directory
# This function is used to compile the source code
build() {
./configure --prefix=/usr --sysconfdir=/etc
./configure --prefix=/usr --sysconfdir=/etc --with-regex=pcre2
make
}
# The check function is executed in the source directory
# This function is used to run tests to verify the package has been compiled correctly
check() {
make check
}
# The package function is executed in the source directory
# This function is used to move the compiled files into the output directory
package() {
make DESTDIR="$BPM_OUTPUT" install
# Install package licenses
install -Dm644 "$BPM_SOURCE"/LICENSE "$BPM_OUTPUT"/usr/share/licenses/less/LICENSE
install -Dm644 "$BPM_SOURCE"/COPYING "$BPM_OUTPUT"/usr/share/licenses/less/COPYING
}