diff options
author | Chris Severance | 2019-06-05 00:50:39 -0400 |
---|---|---|
committer | Chris Severance | 2019-06-05 00:50:39 -0400 |
commit | f397d907889212a5bed7e02ee1d2433bf5c33139 (patch) | |
tree | 20aaa4f97e5e1ae916dfdd271e63a8052d5c543d /PKGBUILD | |
parent | 0e2555bc7f9a764ac9ab02a123e40f463816a80a (diff) | |
download | aur-f397d907889212a5bed7e02ee1d2433bf5c33139.tar.gz |
autu: Update to 2.2.1-3 Improve RAR handling
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -70,7 +70,8 @@ backup=('etc/advttyd.conf') install="${pkgname}-install.sh" _srcdir="VCOM_LINUX_${pkgver}.TAR.BZ2" _srcdir="${_srcdir,,}" -source=("http://advdownload.advantech.com/productfile/Downloadfile${_dl}/${_srcdir}") # a .RAR file now +_srcrar="${_srcdir//.tar.bz2/.rar}" +source=("${_srcrar}::http://advdownload.advantech.com/productfile/Downloadfile${_dl}/${_srcdir}") # a .RAR file now #source=("${_srcdir,,}::http://downloadt.advantech.com/download/downloadsr.aspx?File_Id=${_dl}") # redirect works sooner but can be changed arbitrairly _srcdir="${_srcdir%\.tar*}" #source=("http://advdownload.advantech.com/productfile/Downloadfile4/${_dl}/${_srcdir}.rar") @@ -83,6 +84,8 @@ sha256sums=('98e670d7ab0b67c5ca1d7c61ffffdbf812e2bcc2680d408b749ae4f36f1c46d7' '02f504a23fbef07f666aaa595faba0513d9ffec5e99ebca7b7fe2299a0179e32' '9335cfe8addfdf80224d21529fe0a70a6b750fa0823cfe806f5c94ae50a06cad' '77edc7a806085fc738fa4536e91fce98fb8e103f8207ec0d395f340107e83d0c') +noextract=("${_srcrar}") # the RAR crashes bsdtar. Parsing filters is unsupported. +makedepends+=('unrar') if [ "${_opt_DKMS}" -ne 0 ]; then depends+=('linux' 'dkms' 'linux-headers') @@ -92,6 +95,7 @@ fi prepare() { set -u + unrar x "${_srcrar}" cd "${_srcdir}" #cp -p driver/adv_main.c{,.orig}; false |