aboutsummaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorLeonard Schmidt <lems@gmx.net>2017-01-27 22:41:48 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-01-28 07:38:10 +0700
commitf22d5fdd4ca8642321249a37588ff0a06b3e208f (patch)
tree8bbfbcc472262862d127692abf3cbdbdd5590ae6 /misc
parent52a61c21b3d61fcd99dd7c529e5e6b36ea047439 (diff)
misc/klibc: Fixup kernel id in package version.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'misc')
-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 1f99c3335379e..53a4b210e0b65 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}