aboutsummaryrefslogtreecommitdiff
path: root/system/steamos-xpad
diff options
context:
space:
mode:
authorLeonard Schmidt <lems@gmx.net>2017-01-27 22:47:13 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-01-28 07:38:11 +0700
commitd93e33b8b1faa6c846e27d595ff3324a1e9858bf (patch)
tree945fa90c5b3441719cbef935368f0685076a7883 /system/steamos-xpad
parent2bf418a62ad6f60ae40372edcacc4d9fe9f46fbc (diff)
system/steamos-xpad: Fixup kernel id in package version.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'system/steamos-xpad')
-rw-r--r--system/steamos-xpad/steamos-xpad.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/steamos-xpad/steamos-xpad.SlackBuild b/system/steamos-xpad/steamos-xpad.SlackBuild
index 66eebee07a4d..e9f7e1380400 100644
--- a/system/steamos-xpad/steamos-xpad.SlackBuild
+++ b/system/steamos-xpad/steamos-xpad.SlackBuild
@@ -33,6 +33,7 @@ PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
KERNEL=$(uname -r)
+PKGVER=${VERSION}_$(echo $KERNEL | tr - _)
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -73,4 +74,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
sed "s%@KERNEL@%$KERNEL%" $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$PKGVER-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}