diff options
author | Leonard Schmidt <lems@gmx.net> | 2017-01-27 22:41:48 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-01-28 07:38:10 +0700 |
commit | f22d5fdd4ca8642321249a37588ff0a06b3e208f (patch) | |
tree | 8bbfbcc472262862d127692abf3cbdbdd5590ae6 /misc | |
parent | 52a61c21b3d61fcd99dd7c529e5e6b36ea047439 (diff) | |
download | slackbuilds-f22d5fdd4ca8642321249a37588ff0a06b3e208f.tar.gz |
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.SlackBuild | 3 |
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} |