diff options
Diffstat (limited to 'accessibility/easystroke/easystroke.SlackBuild')
-rw-r--r-- | accessibility/easystroke/easystroke.SlackBuild | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/accessibility/easystroke/easystroke.SlackBuild b/accessibility/easystroke/easystroke.SlackBuild index 4c5a370d02865..29b04e812b6c6 100644 --- a/accessibility/easystroke/easystroke.SlackBuild +++ b/accessibility/easystroke/easystroke.SlackBuild @@ -47,16 +47,19 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION chown -R root:root . find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; # Add StartupNotify to desktop menu item. echo "StartupNotify=false" >> $PRGNAM.desktop.in # Fix multithreading boost library in Makefile. sed -i 's|-lboost_serialization-mt|-lboost_serialization|' Makefile +# Thanks to ARCH Linux +patch -p1 < $CWD/lambda.patch + make CXX="g++ $SLKCFLAGS" CC="gcc -std=c99 $SLKCFLAGS" PREFIX=/usr # Determine if we compile manpages with help2man. Default is no. @@ -68,7 +71,7 @@ fi make install PREFIX=/usr DESTDIR=$PKG -find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ +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 mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION |