diff --git a/srcpkgs/Z80Explorer/template b/srcpkgs/Z80Explorer/template index 7e5be704ade..8aa7494e426 100644 --- a/srcpkgs/Z80Explorer/template +++ b/srcpkgs/Z80Explorer/template @@ -3,6 +3,7 @@ pkgname=Z80Explorer version=1.02 revision=1 _z80_githash=6abf07adb65fcb2343f74c7a014cd6421a7dad5d +create_wrksrc=yes build_style=qmake hostmakedepends="qt5-qmake qt5-host-tools p7zip" makedepends="qt5-devel qt5-script-devel" @@ -10,13 +11,14 @@ short_desc="Visual Zilog Z-80 netlist-level simulator" maintainer="Orphaned " license="GPL-3.0-or-later" homepage="https://github.com/gdevic/Z80Explorer" -distfiles="https://github.com/gdevic/Z80Explorer/archive/v${version}.tar.gz>${pkgname}-${version}.tar.gz - https://github.com/gdevic/Z80Explorer_Z80/archive/${_z80_githash}.tar.gz>${pkgname}_Z80-${version}.tar.gz" +distfiles="https://github.com/gdevic/Z80Explorer/archive/v${version}.tar.gz + https://github.com/gdevic/Z80Explorer_Z80/archive/${_z80_githash}.tar.gz" checksum="8140eaeff215e49df2c0abb7c10f84c4c721adaced6a756d30e584348078b29b f6980e5bf3cadcc050d70a359fae7813d3d3b1805935a57dea564caed67b3192" post_extract() { - mv ../${pkgname}_Z80-${_z80_githash} resource + mv Z80Explorer-${version}/* . + mv ${pkgname}_Z80-${_z80_githash} resource vsed -i ${pkgname}.pro -e "s;/opt/\$\${TARGET}/bin;/usr/libexec/${pkgname};" }