mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
multimedia/nted: 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:
parent
c4849e527b
commit
071adc3f80
1 changed files with 8 additions and 5 deletions
|
@ -24,6 +24,8 @@
|
|||
|
||||
# Modified by the SlackBuilds.org project
|
||||
|
||||
# 20230103 bkw: BUILD=3, get rid of useless install instructions.
|
||||
|
||||
# 20210910 bkw: fix build on -current (gcc11)
|
||||
# TODO: occasionally nted segfaults on exit, fix if possible. It's
|
||||
# difficult to reproduce, and when I compile with debugging symbols
|
||||
|
@ -41,7 +43,7 @@ cd $(dirname $0) ; CWD=$(pwd)
|
|||
|
||||
PRGNAM=nted
|
||||
VERSION=${VERSION:-1.10.18_12}
|
||||
BUILD=${BUILD:-2}
|
||||
BUILD=${BUILD:-3}
|
||||
TAG=${TAG:-_SBo}
|
||||
PKGTYPE=${PKGTYPE:-tgz}
|
||||
|
||||
|
@ -63,7 +65,7 @@ PKG=$TMP/package-$PRGNAM
|
|||
OUTPUT=${OUTPUT:-/tmp}
|
||||
|
||||
# 20210910 bkw: NEWS and ChangeLog are 0-byte placeholders, ignore
|
||||
DOCS="ABOUT* AUTHORS COPYING* FAQ INSTALL README"
|
||||
DOCS="ABOUT* AUTHORS COPYING* FAQ README"
|
||||
|
||||
if [ "$ARCH" = "i586" ]; then
|
||||
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
|
||||
|
@ -125,9 +127,10 @@ make
|
|||
make install-strip DESTDIR=$PKG
|
||||
gzip -9 $PKG/usr/man/man?/*.*
|
||||
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||
PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
|
||||
mkdir -p $PKGDOC
|
||||
cp -a $DOCS $PKGDOC
|
||||
cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild
|
||||
|
||||
# Overwrite shipped .desktop file with fixed one that validates
|
||||
cat $CWD/$PRGNAM.desktop > $PKG/usr/share/applications/$PRGNAM.desktop
|
||||
|
|
Loading…
Reference in a new issue