academic/nco: Remove template comments.

Signed-off-by: B. Watson <yalhcru@gmail.com>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
B. Watson 2020-10-11 16:54:09 -04:00 committed by Willy Sudiarto Raharjo
parent f1cf001ec5
commit 9179b93859
No known key found for this signature in database
GPG key ID: 3F617144D7238786

View file

@ -55,7 +55,7 @@ else
LIBDIRSUFFIX="" LIBDIRSUFFIX=""
fi fi
set -e # Exit on most errors set -e
rm -rf $PKG rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT mkdir -p $TMP $PKG $OUTPUT
@ -83,7 +83,6 @@ CXXFLAGS="$SLKCFLAGS" \
--disable-static \ --disable-static \
--build=$ARCH-slackware-linux --build=$ARCH-slackware-linux
# Compile the application and install it into the $PKG directory
make make
make install DESTDIR=$PKG make install DESTDIR=$PKG
@ -93,18 +92,15 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
find $PKG/usr/man -type f -exec gzip -9 {} \; 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 for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
# Compress info pages and remove the package's dir file
rm -f $PKG/usr/info/dir rm -f $PKG/usr/info/dir
gzip -9 $PKG/usr/info/*.info* gzip -9 $PKG/usr/info/*.info*
# Copy program documentation into the package
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \ cp -a \
AUTHORS CITATION COPYING COPYRIGHT INSTALL LICENSE README.md \ AUTHORS CITATION COPYING COPYRIGHT INSTALL LICENSE README.md \
$PKG/usr/doc/$PRGNAM-$VERSION $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
# Copy the slack-desc (and a custom doinst.sh if necessary) into ./install
mkdir -p $PKG/install mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc cat $CWD/slack-desc > $PKG/install/slack-desc