summaryrefslogtreecommitdiffstats
path: root/source/a/upower/upower.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'source/a/upower/upower.SlackBuild')
-rwxr-xr-xsource/a/upower/upower.SlackBuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/a/upower/upower.SlackBuild b/source/a/upower/upower.SlackBuild
index dfcc52113..ba6b2bdb7 100755
--- a/source/a/upower/upower.SlackBuild
+++ b/source/a/upower/upower.SlackBuild
@@ -29,7 +29,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=upower
VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d- | rev)}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
@@ -112,6 +112,8 @@ meson setup \
--localstatedir=/var \
--buildtype=release \
-Dsystemdsystemunitdir=no \
+ -Dudevhwdbdir=/lib/udev/hwdb.d \
+ -Dudevrulesdir=/lib/udev/rules.d \
.. || exit 1
"${NINJA:=ninja}" $NUMJOBS || exit 1
DESTDIR=$PKG $NINJA install || exit 1