diff options
author | Alex | 2019-01-27 00:39:50 +0100 |
---|---|---|
committer | Alex | 2019-01-27 00:39:50 +0100 |
commit | 94ff21e1bbfe49fdf57a9db576d764f31739923d (patch) | |
tree | 5dbe5ef5dfa7cdb1d1b4b8c2b2cb01ffc608def8 | |
parent | d65b3dac145d1c1fd2787bf690880f10fa86aeb8 (diff) | |
download | aur-94ff21e1bbfe49fdf57a9db576d764f31739923d.tar.gz |
Fixed missing path to the building directory
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 7 |
2 files changed, 4 insertions, 5 deletions
@@ -1,7 +1,7 @@ pkgbase = davinci-resolve pkgdesc = Professional A/V post-production software suite from Blackmagic Design pkgver = 15.2.3 - pkgrel = 2 + pkgrel = 3 url = https://www.blackmagicdesign.com/products/davinciresolve install = davinci-resolve.install arch = any @@ -11,7 +11,7 @@ pkgname=davinci-resolve _pkgname=resolve resolve_app_name=com.blackmagicdesign.resolve pkgver=15.2.3 -pkgrel=2 +pkgrel=3 pkgdesc='Professional A/V post-production software suite from Blackmagic Design' arch=('any') url="https://www.blackmagicdesign.com/products/davinciresolve" @@ -27,15 +27,14 @@ install=${pkgname}.install msg2 "Trying to fetch the archive file if available..." DOWNLOADS_DIR=`xdg-user-dir DOWNLOAD` -if [ ! -f ${pkgdir}/DaVinci_Resolve_${pkgver}_Linux.zip ]; then +if [ ! -f ${PWD}/DaVinci_Resolve_${pkgver}_Linux.zip ]; then if [ -f $DOWNLOADS_DIR/DaVinci_Resolve_${pkgver}_Linux.zip ]; then - ln -sfn $DOWNLOADS_DIR/DaVinci_Resolve_${pkgver}_Linux.zip ${pkgdir} + ln -sfn $DOWNLOADS_DIR/DaVinci_Resolve_${pkgver}_Linux.zip ${PWD} else msg2 "" msg2 "The package can be downloaded here: https://www.blackmagicdesign.com/products/davinciresolve/" msg2 "Please remember to put a downloaded package DaVinci_Resolve_${pkgver}_Linux.zip into the build directory ${PWD} or $DOWNLOADS_DIR" msg2 "" - exit 1 fi fi |