summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex2019-01-27 00:39:50 +0100
committerAlex2019-01-27 00:39:50 +0100
commit94ff21e1bbfe49fdf57a9db576d764f31739923d (patch)
tree5dbe5ef5dfa7cdb1d1b4b8c2b2cb01ffc608def8
parentd65b3dac145d1c1fd2787bf690880f10fa86aeb8 (diff)
downloadaur-94ff21e1bbfe49fdf57a9db576d764f31739923d.tar.gz
Fixed missing path to the building directory
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD7
2 files changed, 4 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index fadb89cd4c5b..f30d447802bf 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
diff --git a/PKGBUILD b/PKGBUILD
index a77e1fde2d9c..c9887f26e28b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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