diff options
Diffstat (limited to 'academic/nco/nco.SlackBuild')
-rw-r--r-- | academic/nco/nco.SlackBuild | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/academic/nco/nco.SlackBuild b/academic/nco/nco.SlackBuild index 6afd6b07d584..0692d9f9dae3 100644 --- a/academic/nco/nco.SlackBuild +++ b/academic/nco/nco.SlackBuild @@ -55,7 +55,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT @@ -83,7 +83,6 @@ CXXFLAGS="$SLKCFLAGS" \ --disable-static \ --build=$ARCH-slackware-linux -# Compile the application and install it into the $PKG directory make 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 {} \; 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 gzip -9 $PKG/usr/info/*.info* -# Copy program documentation into the package mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ AUTHORS CITATION COPYING COPYRIGHT INSTALL LICENSE README.md \ $PKG/usr/doc/$PRGNAM-$VERSION 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 cat $CWD/slack-desc > $PKG/install/slack-desc |