network/xtables-addons: 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:44:14 +00:00 committed by Willy Sudiarto Raharjo
parent 6f1e6c6147
commit 9d08122eeb
No known key found for this signature in database
GPG key ID: 887B8374D7333381

View file

@ -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
@ -98,4 +99,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}