# Maintainer: CrocoDuck # Contributor: Simon Thorpe pkgname=pianoteq-standard-trial-bin pkgver=6.0.1 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=68afaa0b75ffc732826a29187613f26f349b0db9f3c57ac5509c0eecf0ddc0d1 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 "