summaryrefslogtreecommitdiff
path: root/network/libcapi20/libcapi20.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/libcapi20/libcapi20.SlackBuild')
-rw-r--r--network/libcapi20/libcapi20.SlackBuild8
1 files changed, 3 insertions, 5 deletions
diff --git a/network/libcapi20/libcapi20.SlackBuild b/network/libcapi20/libcapi20.SlackBuild
index 2e7f44ff0d..88b1298293 100644
--- a/network/libcapi20/libcapi20.SlackBuild
+++ b/network/libcapi20/libcapi20.SlackBuild
@@ -58,7 +58,7 @@ fi
set -eu
rm -rf $PKG
-mkdir -p $TMP $PKG
+mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $EXDIR
tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
@@ -68,7 +68,7 @@ find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
CXXFLAGS="$SLKCFLAGS" \
CFLAGS="$SLKCFLAGS" \
@@ -82,9 +82,7 @@ make
make install DESTDIR=$PKG
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- README COPYING COPYING.LIB \
- $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a README COPYING COPYING.LIB $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install