aboutsummaryrefslogtreecommitdiff
path: root/libraries/libmpdclient
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-01-02 20:46:09 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-01-02 22:43:19 +0700
commitcc09929e0ae61311f90ce89b0857170ed2254cd2 (patch)
tree6717a1d91ef54855b238367bd9e1d3034885b259 /libraries/libmpdclient
parent1aafcbc5319cd9a679e693751dc513a2326e2428 (diff)
libraries/libmpdclient: Fix Doc.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/libmpdclient')
-rw-r--r--libraries/libmpdclient/libmpdclient.SlackBuild9
1 files changed, 3 insertions, 6 deletions
diff --git a/libraries/libmpdclient/libmpdclient.SlackBuild b/libraries/libmpdclient/libmpdclient.SlackBuild
index 89bafb3bb7b7e..62ad83ada042c 100644
--- a/libraries/libmpdclient/libmpdclient.SlackBuild
+++ b/libraries/libmpdclient/libmpdclient.SlackBuild
@@ -96,14 +96,11 @@ rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
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
-find $PKG -name perllocal.pod \
- -o -name ".packlist" \
- -o -name "*.bs" \
- | xargs rm -f
-
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mv $PKG/usr/share/doc/libmpdclient/* $PKG/usr/doc/$PRGNAM-$VERSION
-rm -rf $PKG/usr/share/doc
+rm -rf $PKG/usr/share/
+
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc