Strange error now
==> Starting prepare()...
~/workspace/davinci-resolve/src ~/workspace/davinci-resolve/src
chmod: cannot access './davinci-resolve/src/DaVinci_Resolve_18.6.0_Linux.run': No such file or directory
==> ERROR: A failure occurred in prepare().
Aborting...
The unpacked run file davinci-resolve/src/DaVinci_Resolve_18.6.0_Linux.run actually says 18.6 not 18.6.0. I did this...
diff --git a/PKGBUILD b/PKGBUILD
index 66c5c48..80ad87b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -9,6 +9,7 @@
# It can be obtained from chromium -> Developer Tools -> Network -> XHR -> click latest-version and copy downloadId
pkgname=davinci-resolve
+major_version=18.6
pkgver=18.6.0
pkgrel=1
@@ -20,6 +21,7 @@ if [ "$pkgname" == "davinci-resolve" ]; then
sha256sums=('18f391cc522a336553a32c0c8c3eb0f47e0f7478687a08aae1acbf49bfa34560')
pkgdesc='Professional A/V post-production software suite from Blackmagic Design'
_archive_name=DaVinci_Resolve_${pkgver}_Linux
+ _archive_run_name=DaVinci_Resolve_${major_version}_Linux
conflicts=('davinci-resolve-studio' 'davinci-resolve-beta' 'davinci-resolve-studio-beta')
elif [ "$pkgname" == "davinci-resolve-studio" ]; then
# Variables for STUDIO edition
@@ -29,6 +31,7 @@ elif [ "$pkgname" == "davinci-resolve-studio" ]; then
sha256sums=('85d10ad79ecd033c782bcb6ad27e0cb5ac190e9ef4dbd517282bc4dbe045a080')
pkgdesc='Professional A/V post-production software suite from Blackmagic Design. Studio edition, requires license key or license dongle.'
_archive_name=DaVinci_Resolve_Studio_${pkgver}_Linux
+ _archive_run_name=DaVinci_Resolve_Studio_${major_version}_Linux
conflicts=('davinci-resolve' 'davinci-resolve-beta' 'davinci-resolve-studio-beta')
fi
@@ -102,7 +105,7 @@ makedepends=('libarchive' 'xdg-user-dirs' 'patchelf' 'jq')
options=('!strip')
_archive=${_archive_name}.zip
-_installer_binary=${_archive_name}.run
+_installer_binary=${_archive_run_name}.run
source=("${_archive}"::"$_srcurl")
prepare()
Pinned Comments
satriani commented on 2021-05-15 14:15 (UTC) (edited on 2021-05-15 14:16 (UTC) by satriani)
Issues and bugs, please report on the official forum here: https://forum.blackmagicdesign.com/viewforum.php?f=21&sid=239f0d5c49abe5d6a635b69638192e9a Thank you!
Visit DaVinci Resolve - ArchWiki before installing: https://wiki.archlinux.org/title/DaVinci_Resolve
ATTENTION: Please don't flag this package as out-of-date before beta version has been released as stable!
This is a current stable Package!
The current free beta is available here: https://aur.archlinux.org/packages/davinci-resolve-beta/
And for current studio beta here: https://aur.archlinux.org/packages/davinci-resolve-studio-beta/
Thanks.