Update package version to 23.7

This commit is contained in:
2025-05-12 12:58:59 +03:00
parent 3e1e193a4d
commit 46f967a721
3 changed files with 27 additions and 6 deletions
+6 -1
View File
@@ -2,7 +2,7 @@
# BPM Expects the source code to be extracted into the automatically created 'source' directory which can be accessed using $BPM_SOURCE
# BPM Expects the output files to be present in the automatically created 'output' directory which can be accessed using $BPM_OUTPUT
DOWNLOAD="https://sourceforge.net/projects/psmisc/files/psmisc/psmisc-${BPM_PKG_VERSION}.tar.xz"
DOWNLOAD="https://gitlab.com/psmisc/psmisc/-/archive/v${BPM_PKG_VERSION}/psmisc-v${BPM_PKG_VERSION}.tar.gz"
FILENAME="${DOWNLOAD##*/}"
# The prepare function is executed in the root of the temp directory
@@ -15,6 +15,8 @@ prepare() {
# The build function is executed in the source directory
# This function is used to compile the source code
build() {
./autogen.sh
./configure --prefix=/usr
make
}
@@ -29,4 +31,7 @@ check() {
# This function is used to move the compiled files into the output directory
package() {
make DESTDIR="$BPM_OUTPUT" install
# Install package license
install -Dm644 "$BPM_SOURCE"/COPYING "$BPM_OUTPUT"/usr/share/licenses/psmisc/COPYING
}