diff options
author | Chris Severance | 2019-12-03 17:45:05 -0500 |
---|---|---|
committer | Chris Severance | 2019-12-03 17:45:05 -0500 |
commit | c47cddee73d6aa9124da3904c348d71cfb707b72 (patch) | |
tree | b2e0167584e2e8c893ae08001ec9f11efb3fdbc5 | |
parent | 228a7197a150291f8941c84e80480172f5e7cb29 (diff) | |
download | aur-c47cddee73d6aa9124da3904c348d71cfb707b72.tar.gz |
autu: Update to 7.35-1 Kernel 5.4 SUBDIRS=
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 8 |
2 files changed, 8 insertions, 2 deletions
@@ -1,5 +1,5 @@ # Generated by mksrcinfo v8 -# Mon Feb 4 07:24:11 UTC 2019 +# Tue Dec 3 22:45:05 UTC 2019 pkgbase = nslink pkgdesc = tty driver and firmware update for Comtrol DeviceMaster, RTS, LT, PRO, 500, UP, RPSH-SI, RPSH, and Serial port Hub console terminal device server pkgver = 7.35 @@ -103,6 +103,9 @@ prepare() { -i 'install.sh' test ! -s 'install.sh.Arch' || echo "${}" + # Fix /var/run + sed -e 's:/var/run/:/run/:g' -i 'nslink.service' + # Switch to python2 sed -e '# Why using local on just this one?' \ -e 's:/usr/local/bin/python:/usr/bin/python:g' \ @@ -123,7 +126,10 @@ prepare() { sed -e 's:^[^#]:#&:g' -i 'nslink.conf' # Fix makefile - sed -e 's:=/lib/modules:=/usr/lib/modules:g' -i 'Makefile' + sed -e 's:=/lib/modules:=/usr/lib/modules:g' \ + -e '# Switch SUBDIRS= to M= for Kernel 5.4' \ + -e 's:SUBDIRS=:M=:g' \ + -i 'Makefile' # Correct group and chmod for serial sed -e '/getgrnam/ s:"tty":"uucp":g' \ |