mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-27 07:52:55 +02:00
udevil: remove systemd build option (#1736).
This commit is contained in:
parent
f8f5b51fc0
commit
78fdbe7294
1 changed files with 2 additions and 11 deletions
|
@ -1,11 +1,10 @@
|
||||||
# Template file for 'udevil'
|
# Template file for 'udevil'
|
||||||
pkgname=udevil
|
pkgname=udevil
|
||||||
version=0.4.4
|
version=0.4.4
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
build_options="systemd"
|
|
||||||
hostmakedepends="pkg-config intltool"
|
hostmakedepends="pkg-config intltool"
|
||||||
configure_args="$(vopt_enable systemd)"
|
configure_args="--disable-systemd"
|
||||||
makedepends="libglib-devel libudev-devel"
|
makedepends="libglib-devel libudev-devel"
|
||||||
conf_files="/etc/udevil/udevil.conf"
|
conf_files="/etc/udevil/udevil.conf"
|
||||||
short_desc="CLI which mounts and unmounts removable devices without a password"
|
short_desc="CLI which mounts and unmounts removable devices without a password"
|
||||||
|
@ -14,11 +13,3 @@ license="GPL-3"
|
||||||
homepage="http://ignorantguru.github.io/udevil/"
|
homepage="http://ignorantguru.github.io/udevil/"
|
||||||
distfiles="https://github.com/IgnorantGuru/udevil/archive/${version}.tar.gz"
|
distfiles="https://github.com/IgnorantGuru/udevil/archive/${version}.tar.gz"
|
||||||
checksum=ad2fd8375bd62622718a04235e9772119459089938dbb78e657955e595822b7c
|
checksum=ad2fd8375bd62622718a04235e9772119459089938dbb78e657955e595822b7c
|
||||||
|
|
||||||
post_install() {
|
|
||||||
if [ "$build_option_systemd" ]; then
|
|
||||||
# Drop useless conf.d/devmon file.
|
|
||||||
rm -rf ${DESTDIR}/etc/conf.d
|
|
||||||
sed -e '/EnvironmentFile.*/d' -i ${DESTDIR}/usr/lib/systemd/system/devmon@.service
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue