From a08ce29c469256168e696f3b077041c1665d131d Mon Sep 17 00:00:00 2001 From: Matteo Bernardini Date: Sat, 9 Jul 2016 22:11:14 +0200 Subject: graphics/mypaint: Fix library location. Signed-off-by: Matteo Bernardini --- graphics/mypaint/mypaint.SlackBuild | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'graphics/mypaint') diff --git a/graphics/mypaint/mypaint.SlackBuild b/graphics/mypaint/mypaint.SlackBuild index ed4e795c4a..089622dfa1 100644 --- a/graphics/mypaint/mypaint.SlackBuild +++ b/graphics/mypaint/mypaint.SlackBuild @@ -60,18 +60,16 @@ find -L . \ # Respect our $LIBDIRSUFFIX sed -i "s|prefix/lib/|prefix/lib$LIBDIRSUFFIX/|" SCons* brushlib/SConscript -sed -i "s|lib/$PRGNAM/|lib$LIBDIRSUFFIX/$PRGNAM/|" $PRGNAM.py +sed -i "s|'lib'|'lib$LIBDIRSUFFIX'|" $PRGNAM.py +sed -i "s|lib/pkgconfig|lib$LIBDIRSUFFIX/pkgconfig|g" brushlib/SConscript # Use our CFLAGS sed -i "s|-O3|$SLKCFLAGS|g" SConstruct scons prefix="$PKG"/usr install -# Fix the pkgconfig file -sed -i \ - -e "s|$PKG||" \ - -e "s|/lib$|/lib$LIBDIRSUFFIX|" \ - $PKG/usr/lib$LIBDIRSUFFIX/pkgconfig/lib$PRGNAM.pc +# Stuff unused and broken +rm -fR $PKG/usr/include $PKG/usr/lib$LIBDIRSUFFIX/{libmypaint.a,pkgconfig} 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 -- cgit v1.2.3