summaryrefslogtreecommitdiffstats
path: root/misc/klibc/klibc.SlackBuild
diff options
context:
space:
mode:
author Leonard Schmidt2017-01-27 23:41:48 +0100
committer Willy Sudiarto Raharjo2017-01-28 01:38:10 +0100
commitf22d5fdd4ca8642321249a37588ff0a06b3e208f (patch)
tree8bbfbcc472262862d127692abf3cbdbdd5590ae6 /misc/klibc/klibc.SlackBuild
parent52a61c21b3d61fcd99dd7c529e5e6b36ea047439 (diff)
downloadslackbuilds-f22d5fdd4ca8642321249a37588ff0a06b3e208f.tar.gz
misc/klibc: Fixup kernel id in package version.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'misc/klibc/klibc.SlackBuild')
-rw-r--r--misc/klibc/klibc.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/misc/klibc/klibc.SlackBuild b/misc/klibc/klibc.SlackBuild
index 1f99c33353..53a4b210e0 100644
--- a/misc/klibc/klibc.SlackBuild
+++ b/misc/klibc/klibc.SlackBuild
@@ -28,6 +28,7 @@ BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
KERNEL=${KERNEL:-$(uname -r)}
+PKGVER=${VERSION}_$(echo $KERNEL | tr - _)
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -96,4 +97,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-${VERSION}_$KERNEL-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$PKGVER-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}