audio/deadbeef: Clean up doc dir.

Signed-off-by: B. Watson <urchlay@slackware.uk>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
B. Watson 2023-02-04 01:03:43 -05:00 committed by Willy Sudiarto Raharjo
parent 9c434fc49a
commit a67ad6bfb9
No known key found for this signature in database
GPG key ID: 3F617144D7238786

View file

@ -22,13 +22,15 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# 20230204 bkw: Modified by SlackBuilds.org, BUILD=2:
# - remove 0-byte NEWS and generic gnu INSTALL from doc dir.
# 20220323 bkw: Modified by SlackBuilds.org: fix 32-bit build.
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=deadbeef
VERSION=${VERSION:-1.8.7}
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -108,7 +110,7 @@ find $PKG | xargs 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/$PRGNAM-$VERSION
cp -a AUTHORS COPYING.* ChangeLog INSTALL NEWS $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS COPYING.* ChangeLog $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install