parent
065adf62bd
commit
ae06ba604c
1 changed files with 10 additions and 4 deletions
|
@ -1,8 +1,7 @@
|
|||
# Template file for 'elogind'
|
||||
pkgname=elogind
|
||||
reverts="243.7_1"
|
||||
version=243.4
|
||||
revision=3
|
||||
version=246.9.2
|
||||
revision=1
|
||||
build_style=meson
|
||||
configure_args="-Dcgroup-controller=elogind -Dhalt-path=/usr/bin/halt
|
||||
-Drootlibexecdir=/usr/libexec/elogind -Dreboot-path=/usr/bin/reboot
|
||||
|
@ -18,7 +17,7 @@ maintainer="Enno Boland <gottox@voidlinux.org>"
|
|||
license="GPL-2.0-or-later, LGPL-2.0-or-later"
|
||||
homepage="https://github.com/elogind/elogind"
|
||||
distfiles="https://github.com/${pkgname}/${pkgname}/archive/v${version}.tar.gz"
|
||||
checksum=f1098745863138e6270ea22e78a39baef9a0356b48246c5a53b34211992dc7db
|
||||
checksum=dd2fcf22a89a078cad22e633d2f14a4cc9f4a9c8bae25c0e39fc4aec3e273bc9
|
||||
conf_files="/etc/elogind/*.conf"
|
||||
|
||||
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
|
||||
|
@ -39,6 +38,13 @@ pre_check() {
|
|||
echo 'dummy-file' > /etc/os-release
|
||||
}
|
||||
|
||||
do_check() {
|
||||
if [ "$XBPS_CHECK_PKGS" = full ]; then
|
||||
# tests fail differently due to containerization and kernel features
|
||||
make check
|
||||
fi
|
||||
}
|
||||
|
||||
post_check() {
|
||||
rm -f /etc/machine-id /etc/os-release
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue