Rebuild with libdisplay-info 0.3.0

This commit is contained in:
2025-10-07 12:27:09 +03:00
parent 8887ddf37e
commit 5fd5b30612
2 changed files with 26 additions and 9 deletions
+2 -7
View File
@@ -2,15 +2,9 @@
# 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://gitlab.xfce.org/xfce/xfce4-panel/-/archive/xfce4-panel-${BPM_PKG_VERSION}/xfce4-panel-xfce4-panel-${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
# This function is used for putting downloaded files to the correct location or applying patches
prepare() {
wget "$DOWNLOAD"
tar -xvf "$FILENAME" --strip-components=1 -C "$BPM_SOURCE"
cd "$BPM_SOURCE"
NOCONFIGURE=1 ./autogen.sh
}
@@ -27,6 +21,7 @@ build() {
package() {
make DESTDIR="$BPM_OUTPUT" install
# Install package license
install -Dm644 "$BPM_SOURCE"/COPYING "$BPM_OUTPUT"/usr/share/licenses/xfce4-panel/COPYING
install -Dm644 "$BPM_SOURCE"/COPYING.LIB "$BPM_OUTPUT"/usr/share/licenses/xfce4-panel/COPYING.LIB
}