# Template file for 'master-pdf-editor'
pkgname=master-pdf-editor
version=5.9.94
revision=1
archs="x86_64"
depends="desktop-file-utils"
short_desc="Multifunctional PDF Editor"
maintainer="Orphaned <orphan@voidlinux.org>"
license="custom:Proprietary"
homepage="https://code-industry.net/free-pdf-editor/"
distfiles="https://code-industry.net/public/master-pdf-editor-${version}-qt5.x86_64-qt_include.tar.gz"
checksum=58a324d2ecdc8c8e3f7708dab385acdd2e9505c51960ef7f5835e0298db611e1
nostrip=yes
repository=nonfree
restricted=yes

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

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