system/Solaar: Fix building on -current.
With permission from Erich. Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
9963ceacc9
commit
d87c5c7a9d
|
@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd)
|
|||
|
||||
PRGNAM=Solaar
|
||||
VERSION=${VERSION:-1.1.11}
|
||||
BUILD=${BUILD:-1}
|
||||
BUILD=${BUILD:-2}
|
||||
TAG=${TAG:-_SBo}
|
||||
PKGTYPE=${PKGTYPE:-tgz}
|
||||
|
||||
|
@ -68,7 +68,11 @@ find -L . \
|
|||
|
||||
python3 setup.py install --root=$PKG
|
||||
|
||||
mv $PKG/usr/lib $PKG/
|
||||
# 20240429 46and2: make sure to only move the udev dir to $PKG/lib/
|
||||
# and remove $PKG/usr/lib if empty.
|
||||
mkdir $PKG/lib
|
||||
mv $PKG/usr/lib/udev $PKG/lib/
|
||||
rmdir --ignore-fail-on-non-empty $PKG/usr/lib
|
||||
sed -i 's/#MODE="0660", GROUP="plugdev"/MODE="0660", GROUP="plugdev"/g' $PKG/lib/udev/rules.d/42-logitech-unify-permissions.rules
|
||||
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
|
|
Loading…
Reference in New Issue