Switch to new download format and update dependencies

This commit is contained in:
2025-11-23 10:41:41 +02:00
parent 8d497b9a5d
commit 3157d85970
2 changed files with 13 additions and 12 deletions
+13 -2
View File
@@ -1,9 +1,20 @@
name: seatd
description: A minimal seat management daemon, and a universal seat management library
version: 0.9.1
revision: 2
url: https://sr.ht/~kennylevinsen/seatd/
license: MIT
architecture: any
depends: ["elogind","sysusers"]
make_depends: ["meson","ninja","scdoc"]
type: source
depends:
- libelogind
- sysusers
make_depends:
- elogind
- meson
- scdoc
downloads:
- url: https://git.sr.ht/~kennylevinsen/seatd/archive/${BPM_PKG_VERSION}.tar.gz
extract_to: ${BPM_SOURCE}
extract_strip_components: 1
checksum: 819979c922a0be258aed133d93920bce6a3d3565a60588d6d372ce9db2712cd3
-10
View File
@@ -2,16 +2,6 @@
# 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://git.sr.ht/~kennylevinsen/seatd/archive/${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() {
wget "$DOWNLOAD"
tar -xvf "$FILENAME" --strip-components=1 -C "$BPM_SOURCE"
}
# The build function is executed in the source directory
# This function is used to compile the source code
build() {