# Maintainer: CrocoDuck # Contributor: Simon Thorpe pkgname=pianoteq-standard-trial-bin pkgver=6.0.2 pkgrel=1 pkgdesc="Virtual piano instrument using physical modelling synthesis. Both standalone and plugin versions." arch=('i686' 'x86_64') url="https://www.pianoteq.com/home" license=('custom') depends=('alsa-lib' 'freetype2' 'libxext') makedepends=('gendesk' 'wget' 'p7zip') provides=("${pkgname%-*}") conflicts=("${pkgname%-*}" "pianoteq-standard-trial-bin") source=('https://www.pianoteq.com/images/logo/pianoteq_icon_128.png') sha256sums=('94ee64cf6688a49d74f0bf70d811e7466abac103feeab17496a89f828afcc6d3') # Define the target archive filename: _downfname=pianoteq_linux_trial_v${pkgver//./}.7z # Define its checksum: _downsha256sum=a25e70f71dcff955c38e1a215ce2e414bc42c15d58f17c2b5246b9a27985c56b prepare(){ # The archive download link needs to be retrieved. Retrieve download page source: wget -q -O downpage.html https://www.pianoteq.com/try?file="$_downfname" # Now, isolate the final string of the download link from the source: downstr=$(cat downpage.html | grep "