diff options
author | Larry Hajali <larryhaja@gmail.com> | 2018-07-06 05:09:31 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-07-07 06:54:17 +0700 |
commit | bf5695bd8d62f073d40b8750eeb6361481ff7ea9 (patch) | |
tree | 7c6dbaea03dcd8dbbe04aca562f9ace2432f7008 /libraries | |
parent | 9e0dd65bc2ee3d489af94a90c0aa9f11e49029b3 (diff) | |
download | slackbuilds-bf5695bd8d62f073d40b8750eeb6361481ff7ea9.tar.gz |
libraries/libinput: Fix libinput.pc.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries')
-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 |