diff options
author | Alex | 2018-08-25 23:16:53 +0200 |
---|---|---|
committer | Alex | 2018-08-25 23:16:53 +0200 |
commit | 046817c079f53579fcc13311825caa7cfc9fb6aa (patch) | |
tree | bac28069f4a53e56171a8691703b2b10be143e4d | |
parent | aacb20034f7735d66850faee67de2bb9aa83ed6a (diff) | |
download | aur-046817c079f53579fcc13311825caa7cfc9fb6aa.tar.gz |
small improvement
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 10 |
2 files changed, 7 insertions, 5 deletions
@@ -1,7 +1,7 @@ pkgbase = davinci-resolve pkgdesc = Professional A/V post-production software suite pkgver = 15.0 - pkgrel = 0 + pkgrel = 1 url = https://www.blackmagicdesign.com/ arch = x86_64 license = Commercial @@ -10,7 +10,7 @@ pkgname=davinci-resolve _pkgname=resolve pkgver=15.0 -pkgrel=0 +pkgrel=1 pkgdesc='Professional A/V post-production software suite' arch=('x86_64') url="https://www.blackmagicdesign.com/" @@ -20,12 +20,14 @@ depends=('glu' 'gtk2' 'gstreamer' 'libpng12' 'lib32-libpng12' 'ocl-icd' 'openssl 'qt5-webengine' 'qt5-websockets') options=('!strip') conflicts=('davinci-resolve-beta' 'davinci-resolve-studio' 'davinci-resolve-studio-beta') +DOWNLOADS_DIR=`xdg-user-dir DOWNLOAD` if [ ! -f ${pkgdir}/DaVinci_Resolve_${pkgver}_Linux.zip ]; then - if [ -f $HOME/Downloads/DaVinci_Resolve_${pkgver}_Linux.zip ]; then - ln -sfn $HOME/Downloads/DaVinci_Resolve_${pkgver}_Linux.zip ${pkgdir} + if [ -f $DOWNLOADS_DIR/DaVinci_Resolve_${pkgver}_Linux.zip ]; then + ln -sfn $DOWNLOADS_DIR/DaVinci_Resolve_${pkgver}_Linux.zip ${pkgdir} else - msg2 "Please remember to put a package archive DaVinci_Resolve_${pkgver}_Linux.zip in ${pkgdir} or in your Downloads directory." + 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 ${pkgdir} or $DOWNLOADS_DIR" sleep 3 fi fi |