libraries/libmpdclient: Fix Doc.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Willy Sudiarto Raharjo 2024-01-02 20:46:09 +07:00
parent 1aafcbc531
commit cc09929e0a
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
1 changed files with 3 additions and 6 deletions

View File

@ -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