# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI="7" DESCRIPTION="SoapUI is a free and open source cross-platform Functional Testing solution." HOMEPAGE="https://www.soapui.org/" SRC_URI="https://s3.amazonaws.com/downloads.eviware/soapuios/${PV}/SoapUI-${PV}-linux-bin.tar.gz" S="${WORKDIR}/SoapUI-${PV}" LICENSE="SmartBear" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="examples" RESTRICT="bindist strip mirror" RDEPEND=">=virtual/jre-11" INSTALLDIR="/opt/SoapUI" DOCS="README.md RELEASENOTES.txt LICENSE.md LICENSE.txt" src_install() { # application insinto ${INSTALLDIR} doins -r bin lib wsi-test-tools soapui-settings.xml if use examples; then doins -r Tutorials fi # executables for shellfile in "${D}${INSTALLDIR}/bin/*.sh"; do chmod 755 ${shellfile} done einstalldocs } pkg_postinst() { if [[ ! ${REPLACING_VERSIONS} ]]; then einfo "Application executable installed in ${INSTALLDIR}/bin/soapui.sh" fi }