network-ups-tools: do not ship binaries in /var

In Debian these are shipped in /lib/nut, which is equivalent to
/usr/libexec/nut on Void. Binaries certainly do not belong in /var.
This commit is contained in:
Cameron Nemo 2020-08-13 19:36:13 -07:00 committed by Andrew J. Hesford
parent 8c11ab539e
commit 3efc1561c7

View file

@ -1,7 +1,7 @@
# Template file for 'network-ups-tools'
pkgname=network-ups-tools
version=2.7.4
revision=9
revision=10
wrksrc="nut-${version}"
build_style=gnu-configure
configure_args="
@ -9,7 +9,7 @@ configure_args="
--datadir=/usr/share/ups --with-user=nut --with-group=nut --with-ssl
--with-usb --with-dev --with-serial -with-avahi --with-udev-dir=/usr/lib/udev
--with-libltdl --without-ipmi --without-freeipmi --without-systemdsystemunitdir
--with-snmp --with-drvpath=/var/lib/nut $(vopt_with cgi) --with-statepath=/run/ups"
--with-snmp --with-drvpath=/usr/libexec/nut $(vopt_with cgi) --with-statepath=/run/ups"
hostmakedepends="pkg-config"
makedepends="avahi-libs-devel libressl-devel libusb-compat-devel neon-devel
net-snmp-devel $(vopt_if cgi gd-devel) libltdl-devel"