From 28574eba5305e5da4681b01fe906fd818fec5d6c Mon Sep 17 00:00:00 2001 From: Willy Sudiarto Raharjo Date: Fri, 20 Apr 2018 20:09:27 +0700 Subject: [PATCH] vala: Remove .la files. Signed-off-by: Willy Sudiarto Raharjo --- vala/vala.SlackBuild | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vala/vala.SlackBuild b/vala/vala.SlackBuild index cc761e9..0e12369 100644 --- a/vala/vala.SlackBuild +++ b/vala/vala.SlackBuild @@ -26,7 +26,7 @@ PRGNAM=vala VERSION=${VERSION:-0.40.4} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_csb} if [ -z "$ARCH" ]; then @@ -85,6 +85,9 @@ CXXFLAGS="$SLKCFLAGS" \ make make install-strip DESTDIR=$PKG +# Don't ship .la files: +rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la + 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