# Template file for 'master-pdf-editor'
pkgname=master-pdf-editor
version=5.1.60
revision=1
wrksrc="${pkgname}-5"
only_for_archs="x86_64"
repository="nonfree"
nostrip="yes"
depends="desktop-file-utils"
short_desc="Multifunctional PDF Editor"
maintainer="Giuseppe Fierro <gspe@ae-design.ws>"
license="Proprietary"
homepage="https://code-industry.net/free-pdf-editor/"
distfiles="https://code-industry.net/public/${pkgname}-${version}_qt5.amd64.tar.gz"
checksum=df89752b15d9360ff62a56e92f7866b96a855b9052ae178b68eb7e3a0970252f

do_install() {
	vlicense license.txt
	vinstall masterpdfeditor5.desktop 644 usr/share/applications
	rm {license.txt,masterpdfeditor5.desktop}

	vmkdir opt/master-pdf-editor-5
	vcopy * opt/master-pdf-editor-5
}
