diff options
author | Leonard Schmidt <lems@gmx.net> | 2017-01-27 22:47:13 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-01-28 07:38:11 +0700 |
commit | d93e33b8b1faa6c846e27d595ff3324a1e9858bf (patch) | |
tree | 945fa90c5b3441719cbef935368f0685076a7883 | |
parent | 2bf418a62ad6f60ae40372edcacc4d9fe9f46fbc (diff) | |
download | slackbuilds-d93e33b8b1faa6c846e27d595ff3324a1e9858bf.tar.gz |
system/steamos-xpad: Fixup kernel id in package version.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
-rw-r--r-- | system/steamos-xpad/steamos-xpad.SlackBuild | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/system/steamos-xpad/steamos-xpad.SlackBuild b/system/steamos-xpad/steamos-xpad.SlackBuild index 66eebee07a..e9f7e13804 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} |