parent
065adf62bd
commit
ae06ba604c
|
@ -1,8 +1,7 @@
|
||||||
# Template file for 'elogind'
|
# Template file for 'elogind'
|
||||||
pkgname=elogind
|
pkgname=elogind
|
||||||
reverts="243.7_1"
|
version=246.9.2
|
||||||
version=243.4
|
revision=1
|
||||||
revision=3
|
|
||||||
build_style=meson
|
build_style=meson
|
||||||
configure_args="-Dcgroup-controller=elogind -Dhalt-path=/usr/bin/halt
|
configure_args="-Dcgroup-controller=elogind -Dhalt-path=/usr/bin/halt
|
||||||
-Drootlibexecdir=/usr/libexec/elogind -Dreboot-path=/usr/bin/reboot
|
-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"
|
license="GPL-2.0-or-later, LGPL-2.0-or-later"
|
||||||
homepage="https://github.com/elogind/elogind"
|
homepage="https://github.com/elogind/elogind"
|
||||||
distfiles="https://github.com/${pkgname}/${pkgname}/archive/v${version}.tar.gz"
|
distfiles="https://github.com/${pkgname}/${pkgname}/archive/v${version}.tar.gz"
|
||||||
checksum=f1098745863138e6270ea22e78a39baef9a0356b48246c5a53b34211992dc7db
|
checksum=dd2fcf22a89a078cad22e633d2f14a4cc9f4a9c8bae25c0e39fc4aec3e273bc9
|
||||||
conf_files="/etc/elogind/*.conf"
|
conf_files="/etc/elogind/*.conf"
|
||||||
|
|
||||||
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
|
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
|
||||||
|
@ -39,6 +38,13 @@ pre_check() {
|
||||||
echo 'dummy-file' > /etc/os-release
|
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() {
|
post_check() {
|
||||||
rm -f /etc/machine-id /etc/os-release
|
rm -f /etc/machine-id /etc/os-release
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue