diff options
author | B. Watson <urchlay@slackware.uk> | 2023-01-03 18:10:14 -0500 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-01-07 08:13:44 +0700 |
commit | 071adc3f80cc06b912c6963df85b6fd6ac568c0f (patch) | |
tree | ca4ef7f9a04aa6fd19d1a08650419cd19d748a7c | |
parent | c4849e527b7672ba226166f2b1eff40a1d4f83db (diff) |
multimedia/nted: Clean up doc dir.
Signed-off-by: B. Watson <urchlay@slackware.uk>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r-- | multimedia/nted/nted.SlackBuild | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/multimedia/nted/nted.SlackBuild b/multimedia/nted/nted.SlackBuild index bc7f05844f6b..9fd6a40fdf31 100644 --- a/multimedia/nted/nted.SlackBuild +++ b/multimedia/nted/nted.SlackBuild @@ -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 |