summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan P.C. McQuen <ryan.q@linux.com>2014-11-20 08:43:12 -0800
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-11-22 07:20:29 +0700
commite8b16179d3b12a352fd2042ad164dbd910bef7f1 (patch)
tree2294fa755c1e215ce13505df16dd71d09520641d
parentd99e98b550bb65ac0b77cd88569a4e02de935933 (diff)
downloadslackbuilds-e8b16179d3b12a352fd2042ad164dbd910bef7f1.tar.gz
network/connman: Fix script.
Signed-off-by: Ryan P.C. McQuen <ryan.q@linux.com>
-rw-r--r--network/connman/connman.SlackBuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/network/connman/connman.SlackBuild b/network/connman/connman.SlackBuild
index c2f51e4ead..ec67d53da2 100644
--- a/network/connman/connman.SlackBuild
+++ b/network/connman/connman.SlackBuild
@@ -89,11 +89,11 @@ install -m 644 ${CWD}/rc.connmand ${PKG}/etc/rc.d/
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-mkdir -p ${PKG}/usr/doc/${NAME}-${VERSION}
+mkdir -p ${PKG}/usr/doc/${PRGNAM}-${VERSION}
install -m644 AUTHORS COPYING ChangeLog INSTALL README TODO doc/*.txt \
- ${PKG}/usr/doc/${NAME}-${VERSION}/
-mkdir -p ${PKG}/usr/doc/${NAME}-${VERSION}/api
-mv ${PKG}/usr/doc/${NAME}-${VERSION}/{*-api.txt,api/}
+ ${PKG}/usr/doc/${PRGNAM}-${VERSION}/
+mkdir -p ${PKG}/usr/doc/${PRGNAM}-${VERSION}/api
+mv ${PKG}/usr/doc/${PRGNAM}-${VERSION}/{*-api.txt,api/}
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