diff options
Diffstat (limited to 'libraries/libinput')
-rw-r--r-- | libraries/libinput/libinput.SlackBuild | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/libraries/libinput/libinput.SlackBuild b/libraries/libinput/libinput.SlackBuild index 67bbae162f..213b69f178 100644 --- a/libraries/libinput/libinput.SlackBuild +++ b/libraries/libinput/libinput.SlackBuild @@ -24,7 +24,7 @@ PRGNAM=libinput VERSION=${VERSION:-1.11.1} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -69,16 +69,17 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -meson --prefix $PKG/usr build -Ddebug-gui="false" -Dtests="false" \ - -Dudev-dir="$PKG/lib/udev" -ninja -C build all install +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +meson --prefix /usr --libdir lib${LIBDIRSUFFIX} --mandir /usr/man \ + build -Ddebug-gui="false" -Dtests="false" -Dudev-dir="/lib/udev" + +DESTDIR=$PKG ninja -C build all install find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true -mv $PKG/usr/share/man $PKG/usr/; rm -rf $PKG/usr/share find $PKG/usr/man -type f -exec gzip -9 {} \; -for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -r COPYING README.md doc/ $PKG/usr/doc/$PRGNAM-$VERSION |