summaryrefslogtreecommitdiff
path: root/development/gprolog
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2020-01-03 17:08:42 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-01-12 08:47:39 +0700
commitd686a1e408e2704b4b5230f852a3f8b5d8c59aa8 (patch)
tree6ca0288adabf12c84e8c87c955b86868bc802edc /development/gprolog
parent4f9145f3a1baa75d2422c15d9bed78f117fd6355 (diff)
downloadslackbuilds-d686a1e408e2704b4b5230f852a3f8b5d8c59aa8.tar.gz
development/gprolog: Remove template comments from script.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'development/gprolog')
-rw-r--r--development/gprolog/gprolog.SlackBuild4
1 files changed, 0 insertions, 4 deletions
diff --git a/development/gprolog/gprolog.SlackBuild b/development/gprolog/gprolog.SlackBuild
index b0d3c74fa9..4cf6f816e8 100644
--- a/development/gprolog/gprolog.SlackBuild
+++ b/development/gprolog/gprolog.SlackBuild
@@ -62,7 +62,6 @@ CXXFLAGS="$SLKCFLAGS" \
--prefix=/usr \
--build=$ARCH-slackware-linux
-# Compile the application and install it into the $PKG directory
make -j1
make install DESTDIR=$PKG
@@ -75,16 +74,13 @@ mv $PKG/usr/$PRGNAM-$VERSION/doc $PKG/usr/doc/$PRGNAM-$VERSION/
mv $PKG/usr/$PRGNAM-$VERSION/examples* $PKG/usr/doc/$PRGNAM-$VERSION/
mv $PKG/usr/$PRGNAM-$VERSION/include $PKG/usr/
-# Strip binaries and libraries
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-# Documentation
mv $PKG/usr/$PRGNAM-$VERSION/{ChangeLog,COPYING,NEWS} \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-# Make the package
rm -rf $PKG/usr/$PRGNAM-$VERSION
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc