summaryrefslogtreecommitdiff
path: root/network/r8168
diff options
context:
space:
mode:
authorHunter Sezen <ovariegata@yahoo.com>2016-11-10 21:45:57 +0000
committerDavid Spencer <idlemoor@slackbuilds.org>2016-11-11 20:36:22 +0000
commitc609d1d9c0742fd3f96921593169717b5c12aa7e (patch)
tree3c2907a8e579d81096ff809f4c0ea1841a0d6006 /network/r8168
parentf32c0d3d1d163d05abf54b1c3fd99e9a1cee64d7 (diff)
downloadslackbuilds-c609d1d9c0742fd3f96921593169717b5c12aa7e.tar.gz
network/r8168: Fix doc location.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'network/r8168')
-rw-r--r--network/r8168/r8168.SlackBuild10
1 files changed, 5 insertions, 5 deletions
diff --git a/network/r8168/r8168.SlackBuild b/network/r8168/r8168.SlackBuild
index b8464fb549..6fbae1be99 100644
--- a/network/r8168/r8168.SlackBuild
+++ b/network/r8168/r8168.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=r8168
VERSION=${VERSION:-8.043.01}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -63,7 +63,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -80,9 +80,9 @@ make -C /lib/modules/$KERNEL/build \
install -Dm0644 src/$PRGNAM.ko \
$PKG/lib/modules/$KERNEL/kernel/drivers/net/ethernet/realtek/$PRGNAM.ko
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a README $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+mkdir -p $PKG/usr/doc/$PRGNAM-$PKGVER
+cp -a README $PKG/usr/doc/$PRGNAM-$PKGVER
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$PKGVER/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc