New package: Z80Explorer-1.00
This commit is contained in:
parent
392db9f205
commit
c0c05f894c
4 changed files with 59 additions and 0 deletions
13
srcpkgs/Z80Explorer/files/Z80Explorer-startup.sh
Executable file
13
srcpkgs/Z80Explorer/files/Z80Explorer-startup.sh
Executable file
|
@ -0,0 +1,13 @@
|
|||
#!/bin/sh
|
||||
#
|
||||
# Ensure there is an initial configuration file
|
||||
#
|
||||
CFG="Baltazar Studios, LLC/Z80Explorer.conf"
|
||||
if [ ! -f "$HOME/.config/$CFG" ]; then
|
||||
mkdir -p "$HOME/.config/Baltazar Studios, LLC"
|
||||
cat >"$HOME/.config/$CFG" <<-EOF
|
||||
[General]
|
||||
ResourceDir=/usr/share/Z80Explorer
|
||||
EOF
|
||||
fi
|
||||
/usr/libexec/Z80Explorer/Z80Explorer
|
9
srcpkgs/Z80Explorer/files/Z80Explorer.desktop
Normal file
9
srcpkgs/Z80Explorer/files/Z80Explorer.desktop
Normal file
|
@ -0,0 +1,9 @@
|
|||
[Desktop Entry]
|
||||
Name=Z80Explorer
|
||||
Comment=Visual Zilog Z-80 netlist-level simulator
|
||||
Icon=Z80Explorer
|
||||
Exec=Z80Explorer
|
||||
Terminal=false
|
||||
Type=Application
|
||||
Categories=Development;IDE;
|
||||
StartupNotify=true
|
BIN
srcpkgs/Z80Explorer/files/Z80Explorer.png
Normal file
BIN
srcpkgs/Z80Explorer/files/Z80Explorer.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 110 KiB |
37
srcpkgs/Z80Explorer/template
Normal file
37
srcpkgs/Z80Explorer/template
Normal file
|
@ -0,0 +1,37 @@
|
|||
# Template file for 'Z80Explorer'
|
||||
pkgname=Z80Explorer
|
||||
version=1.00
|
||||
revision=1
|
||||
_z80_githash=ae2c0a5b66eca356e91fafc609caf0d9ada0800e
|
||||
build_style=qmake
|
||||
hostmakedepends="qt5-qmake qt5-host-tools p7zip"
|
||||
makedepends="qt5-devel qt5-script-devel"
|
||||
short_desc="Visual Zilog Z-80 netlist-level simulator"
|
||||
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
|
||||
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"
|
||||
checksum="abca8fe0317eb67be6b74dfc31237c5948cc56ff1c8b58143f960d092be78d01
|
||||
a283029d01751e5b87b2d60845993176cd79c361476bd8f984a402ad5340e863"
|
||||
|
||||
if [ "$CROSS_BUILD" ]; then
|
||||
hostmakedepends+=" ${makedepends}"
|
||||
fi
|
||||
|
||||
post_extract() {
|
||||
mv ../${pkgname}_Z80-${_z80_githash} resource
|
||||
vsed -i ${pkgname}.pro -e "s;/opt/\$\${TARGET}/bin;/usr/libexec/${pkgname};"
|
||||
}
|
||||
|
||||
post_install() {
|
||||
cd resource
|
||||
7z e layermap.7z
|
||||
7z e segvdefs.7z
|
||||
rm *.7z
|
||||
vmkdir usr/share/${pkgname}
|
||||
mv * ${DESTDIR}/usr/share/${pkgname}/
|
||||
vinstall ${FILESDIR}/${pkgname}.desktop 644 usr/share/applications
|
||||
vinstall ${FILESDIR}/${pkgname}.png 644 usr/share/pixmaps
|
||||
vbin ${FILESDIR}/${pkgname}-startup.sh ${pkgname}
|
||||
}
|
Loading…
Reference in a new issue