summaryrefslogtreecommitdiffstats
path: root/source/ap/cdrdao/cdrdao.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'source/ap/cdrdao/cdrdao.SlackBuild')
-rwxr-xr-xsource/ap/cdrdao/cdrdao.SlackBuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/ap/cdrdao/cdrdao.SlackBuild b/source/ap/cdrdao/cdrdao.SlackBuild
index 6ec7d725d..4f77fcb26 100755
--- a/source/ap/cdrdao/cdrdao.SlackBuild
+++ b/source/ap/cdrdao/cdrdao.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/bash
-# Copyright 2008, 2009, 2010, 2012, 2017, 2018 Patrick J. Volkerding, Sebeka, Minnesota, USA
+# Copyright 2008, 2009, 2010, 2012, 2017, 2018, 2023 Patrick J. Volkerding, Sebeka, Minnesota, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,8 +23,8 @@
cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=cdrdao
-VERSION=1.2.4
-BUILD=${BUILD:-3}
+VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
+BUILD=${BUILD:-1}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
@@ -97,7 +97,7 @@ gzip -9 $PKG/usr/man/man1/*.?
mkdir -p $PKG/usr/doc/cdrdao-$VERSION
cp -a \
- AUTHORS COPYING* CREDITS INSTALL NEWS README* \
+ AUTHORS* COPYING* CREDITS* INSTALL* NEWS* README* \
cdrdao.lsm \
contrib \
$PKG/usr/doc/cdrdao-$VERSION