From 7da0d626e21932521de78e735544547014626c3e Mon Sep 17 00:00:00 2001 From: Willy Sudiarto Raharjo Date: Fri, 20 Apr 2018 20:06:53 +0700 Subject: [PATCH] graphviz: Remove .la files. Signed-off-by: Willy Sudiarto Raharjo --- graphviz/graphviz.SlackBuild | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/graphviz/graphviz.SlackBuild b/graphviz/graphviz.SlackBuild index fadf02f..1a7c6f5 100644 --- a/graphviz/graphviz.SlackBuild +++ b/graphviz/graphviz.SlackBuild @@ -28,7 +28,7 @@ PRGNAM=graphviz VERSION=${VERSION:-2.40.1} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_csb} if [ -z "$ARCH" ]; then @@ -119,6 +119,9 @@ find $PKG/usr/lib${LIBDIRSUFFIX}/graphviz -depth -type d -empty -exec rmdir {} \ # message during installation. echo '# Dummy content.' > $PKG/usr/lib${LIBDIRSUFFIX}/graphviz/config6 +# Don't ship .la files: +rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la + mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a README $PKG/usr/doc/$PRGNAM-$VERSION mv $PKG/usr/share/$PRGNAM/doc/* $PKG/usr/doc/$PRGNAM-$VERSION