diff options
Diffstat (limited to 'system/system76-io-dkms/system76-io-dkms.SlackBuild')
-rw-r--r-- | system/system76-io-dkms/system76-io-dkms.SlackBuild | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/system/system76-io-dkms/system76-io-dkms.SlackBuild b/system/system76-io-dkms/system76-io-dkms.SlackBuild index 9cd500f1da..650181521a 100644 --- a/system/system76-io-dkms/system76-io-dkms.SlackBuild +++ b/system/system76-io-dkms/system76-io-dkms.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for system76-io-dkms -# Copyright 2019 Erich Ritz, Scottsdale, Arizona, USA +# Copyright 2019,2021,2023 Erich Ritz, Jenks, Oklahoma, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=system76-io-dkms MODNAM=system76-io -VERSION=${VERSION:-1.0.1} +VERSION=${VERSION:-1.0.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -39,9 +39,6 @@ if [ -z "$ARCH" ]; then esac fi -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 @@ -77,7 +74,7 @@ cp -a \ $PKG/usr/src/$MODNAM-$VERSION # Edit and install dkms configuration -sed "s/@MODULE_VERSION@/${VERSION}/" "debian/system76-io-dkms.dkms" > "$PKG/usr/src/$MODNAM-$VERSION/dkms.conf" +sed "s/#MODULE_VERSION#/${VERSION}/" "debian/system76-io-dkms.dkms" > "$PKG/usr/src/$MODNAM-$VERSION/dkms.conf" mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ @@ -88,6 +85,7 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc sed "s/@MODULE_VERSION@/${VERSION}/" "$CWD/doinst.sh" > "$PKG/install/doinst.sh" +sed "s/@MODULE_VERSION@/${VERSION}/" "$CWD/douninst.sh" > "$PKG/install/douninst.sh" cd $PKG /sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE |