network/rtl8188eu: Fixup kernel id in package version.

Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
Leonard Schmidt 2017-01-27 22:43:08 +00:00 committed by Willy Sudiarto Raharjo
parent f22d5fdd4c
commit 6f1e6c6147
No known key found for this signature in database
GPG key ID: 887B8374D7333381

View file

@ -29,6 +29,7 @@ BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
KERNEL=${KERNEL:-$(uname -r)}
PKGVER=${VERSION}_$(echo $KERNEL | tr - _)
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@ -88,4 +89,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $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}