aboutsummaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2022-04-08 02:18:30 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-04-09 15:45:09 +0700
commit3aca0bd99f8e3975e8b2e3ec6dcc8b8e6866398f (patch)
tree2a5f6e630513cb4c5618fca91ebbcb8a63865ebd /games
parenta3c16390caee360be175914a6744acad923003f1 (diff)
games/arnold-cpc: Fix docs.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games')
-rw-r--r--games/arnold-cpc/arnold-cpc.SlackBuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/games/arnold-cpc/arnold-cpc.SlackBuild b/games/arnold-cpc/arnold-cpc.SlackBuild
index 1b679f4e70ec..1b72bb0e4e8b 100644
--- a/games/arnold-cpc/arnold-cpc.SlackBuild
+++ b/games/arnold-cpc/arnold-cpc.SlackBuild
@@ -22,6 +22,9 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220407 bkw: Modified by SlackBuilds.org, BUILD=2:
+# - don't install an extra copy of the binary in /usr/doc.
+
# 20220219 bkw: Modified by SlackBuilds.org:
# - fix 15.0 build.
# - absolute path to icon in .desktop file (because it's not in /usr/share/icons).
@@ -30,7 +33,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=arnold-cpc
VERSION=${VERSION:-2009.03.17}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -118,7 +121,7 @@ mkdir -p $PKG/usr/share/pixmaps/
install -D -m644 ${PRGNAM}-0.png $PKG/usr/share/pixmaps/$PRGNAM.png
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a README.FIRST arnold* readme* whatsnew* docs/* $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a README.FIRST arnold{-,_}* readme* whatsnew* docs/* $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install