system/displaylink: Update README for new URL.

Signed-off-by: B. Watson <yalhcru@gmail.com>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
B. Watson 2022-02-23 14:24:55 -05:00 committed by Willy Sudiarto Raharjo
parent 5aec82c779
commit a5f5591890
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
3 changed files with 26 additions and 16 deletions

View File

@ -1,10 +1,13 @@
Driver for DisplayLink devices.
Notes:
- This SlackBuild is a binary repacking. To download this pack you
need to navigate to download URL and accept the license.
Another option is to use the following commands:
This SlackBuild is a binary repackaging. To download the "source", you
must navigate to download URL and accept the license.
. ./displaylink.info
wget -O displaylink-driver-$VERSION.zip \
--post-data="fileId=1057&accept_submit=Accept" $DOWNLOAD
Another option is to use the following command:
wget https://www.synaptics.com/sites/default/files/exe_files/2021-02/DisplayLink%20USB%20Graphics%20Software%20for%20Ubuntu1.4-EXE.zip
Note that this command may stop working at some point, if Synaptics
changes the layout of their web site. Also note that this is
proprietary software with a non-free license. Using wget does not
exempt you from the license terms.

View File

@ -22,6 +22,12 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# 20220223 bkw: Modified by SlackBuilds.org: update the wget
# instructions in README. I could have just put the new URL in
# DOWNLOAD, but doing it this way prompts users to accept the license.
# Also, I have no DisplayLink hardware to test the driver with, and
# it's quite an old version (they're up to version 5.4.1 now).
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=displaylink
@ -38,9 +44,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
@ -61,22 +64,26 @@ fi
set -e
ZIPFILE="$CWD/DisplayLink%20USB%20Graphics%20Software%20for%20Ubuntu1.4-EXE.zip"
if [ ! -e "$ZIPFILE" ]; then
ZIPFILE="$CWD/DisplayLink USB Graphics Software for Ubuntu1.4-EXE.zip"
fi
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
unzip $CWD/$PRGNAM-driver-$VERSION.zip -d $PRGNAM-$VERSION
unzip "$ZIPFILE" -d $PRGNAM-$VERSION
cd $PRGNAM-$VERSION
chmod +x displaylink-driver-$VERSION.run
./displaylink-driver-$VERSION.run --target . --noexec
sh ./displaylink-driver-$VERSION.run --target . --noexec
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -o \
-o -perm 511 \) -exec chmod 755 {} \+ -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
install -d -m755 $PKG/usr/lib$LIBDIRSUFFIX/displaylink
install -D -m755 $PACK_ARCH-$PACK_DISTRO/DisplayLinkManager \

View File

@ -1,7 +1,7 @@
PRGNAM="displaylink"
VERSION="1.4.210"
HOMEPAGE="http://www.displaylink.com/downloads/ubuntu.php"
DOWNLOAD="http://www.displaylink.com/downloads/file?id=1057"
DOWNLOAD="http://www.displaylink.com/downloads/ubuntu.php"
MD5SUM="eb65a2abb3aa120c9bb1d337a26e5e8b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""