Update package version to 0.7.9

This commit is contained in:
2025-09-17 10:52:33 +03:00
parent cef15350b7
commit 83ff3f6883
3 changed files with 22 additions and 10 deletions
+7 -6
View File
@@ -2,23 +2,23 @@
# 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
REPO="https://github.com/neagix/idesk"
DOWNLOAD="https://github.com/neagix/idesk/archive/refs/tags/v${BPM_PKG_VERSION}.tar.gz"
FILENAME="${DOWNLOAD##*/}"
# The prepare function is executed in the root of the temp directory
# This function is used for downloading files and putting them into the correct location
prepare() {
git clone "$REPO" --branch v"$BPM_PKG_VERSION" "$BPM_SOURCE"
wget "$DOWNLOAD"
tar -xvf "$FILENAME" --strip-components=1 -C "$BPM_SOURCE"
cd "$BPM_SOURCE"
git apply ../imlib2-config.patch
autoreconf -fi
}
# The build function is executed in the source directory
# This function is used to compile the source code
build() {
autoreconf --install
./configure --prefix=/usr
./configure --prefix=/usr --enable-svg
make
}
@@ -27,5 +27,6 @@ build() {
package() {
make DESTDIR="$BPM_OUTPUT" install
# Install package license
install -Dm644 "$BPM_SOURCE"/COPYING "$BPM_OUTPUT"/usr/share/licenses/idesk/COPYING
}