summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
Diffstat (limited to 'misc')
-rw-r--r--misc/asr-manpages/asr-manpages.SlackBuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/misc/asr-manpages/asr-manpages.SlackBuild b/misc/asr-manpages/asr-manpages.SlackBuild
index ebc8654baa..6a3daacded 100644
--- a/misc/asr-manpages/asr-manpages.SlackBuild
+++ b/misc/asr-manpages/asr-manpages.SlackBuild
@@ -25,9 +25,9 @@
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=asr-manpages
-VERSION=1.3.6
-SRC_VERSION=1.3
-DEB_VERSION=1.3-6
+VERSION=${VERSION:-1.3.6}
+SRC_VERSION=$( echo $VERSION | cut -d. -f1,2 )
+DEB_VERSION=6
# Hard code the ARCH as this is truly architecture independent
ARCH=noarch
BUILD=${BUILD:-1}
@@ -48,7 +48,7 @@ tar xvf $CWD/${PRGNAM}_$SRC_VERSION.orig.tar.gz
cd $PRGNAM-$SRC_VERSION.orig
# Patch the manpages to the latest version.
-patch -p1 < $CWD/${PRGNAM}_$DEB_VERSION.diff
+patch -p1 < $CWD/${PRGNAM}_$SRC_VERSION-$DEB_VERSION.diff
chown -R root:root .
find -L . \