diff options
author | Leonard Schmidt <lems@gmx.net> | 2017-01-27 22:44:14 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-01-28 07:38:11 +0700 |
commit | 9d08122eeb6af9b5a5ddb7c353163a511bde6ad0 (patch) | |
tree | 1c4e9de2a68892a572d60f8896d7a5ba5690682c /network/xtables-addons | |
parent | 6f1e6c61472df9643e2fb7e3e2432d848930780b (diff) | |
download | slackbuilds-9d08122eeb6af9b5a5ddb7c353163a511bde6ad0.tar.gz |
network/xtables-addons: Fixup kernel id in package version.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'network/xtables-addons')
-rw-r--r-- | network/xtables-addons/xtables-addons.SlackBuild | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/network/xtables-addons/xtables-addons.SlackBuild b/network/xtables-addons/xtables-addons.SlackBuild index 09f1320e1c..1f8fd7958f 100644 --- a/network/xtables-addons/xtables-addons.SlackBuild +++ b/network/xtables-addons/xtables-addons.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 @@ -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} |