Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes for Z88DK #54

Merged
merged 1 commit into from
Oct 24, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 12 additions & 11 deletions z88dk-git/lure.sh
Original file line number Diff line number Diff line change
@@ -1,33 +1,34 @@
name='z88dk-git'
version='21023.a09ee3d7a'
release=2
version='21835.e89d1b4477'
release=3
desc='The development kit for Z80 computers'
homepage='https://github.com/z88dk/z88dk'
maintainer='Atirut Wattanamongkol <[email protected]>'
architectures=('amd64')
license=('MIT')

sources=('git+https://github.com/z88dk/z88dk?~recursive=true')
sources=('git+https://github.com/z88dk/z88dk?~recursive=true&~rev=e89d1b4477687747b500fbe0e25fc52fe35056a7')
Elara6331 marked this conversation as resolved.
Show resolved Hide resolved
checksums=('SKIP')


build_deps_ubuntu=('build-essential' 'bison' 'flex' 'libxml2-dev' 'subversion' 'zlib1g-dev' 'm4' 'ragel' 're2c' 'dos2unix' 'texinfo' 'texi2html' 'gdb' 'curl' 'perl' 'cpanminus' 'ccache' 'libboost-all-dev' 'libmodern-perl-perl' 'libyaml-perl' 'liblocal-lib-perl' 'libcapture-tiny-perl' 'libpath-tiny-perl' 'libtext-table-perl' 'libdata-hexdump-perl' 'libregexp-common-perl' 'libclone-perl' 'libfile-slurp-perl' 'make')
build_deps_ubuntu=('build-essential' 'bison' 'flex' 'libxml2-dev' 'subversion' 'zlib1g-dev' 'm4' 'ragel' 're2c' 'dos2unix' 'texinfo' 'texi2html' 'gdb' 'curl' 'perl' 'cpanminus' 'ccache' 'libboost-all-dev' 'libmodern-perl-perl' 'libyaml-perl' 'liblocal-lib-perl' 'libcapture-tiny-perl' 'libpath-tiny-perl' 'libtext-table-perl' 'libdata-hexdump-perl' 'libregexp-common-perl' 'libclone-perl' 'libfile-slurp-perl' 'pkg-config')

version() {
cd "$srcdir/z88dk"
git-version
}

prepare() {
cpanm --local-lib="$srcdir/perl5" App::Prove CPU::Z80::Assembler Data::Dump Data::HexDump File::Path List::Uniq Modern::Perl Object::Tiny::RW Regexp::Common Test::Harness Text::Diff Text::Table YAML::Tiny

Check failure on line 21 in z88dk-git/lure.sh

View workflow job for this annotation

GitHub Actions / runner / shfmt

[shfmt] reported by reviewdog 🐶 Raw Output: z88dk-git/lure.sh:21:- cpanm --local-lib="$srcdir/perl5" App::Prove CPU::Z80::Assembler Data::Dump Data::HexDump File::Path List::Uniq Modern::Perl Object::Tiny::RW Regexp::Common Test::Harness Text::Diff Text::Table YAML::Tiny z88dk-git/lure.sh:22:- eval $(perl -I "$srcdir/perl5/lib/perl5/" -Mlocal::lib) z88dk-git/lure.sh:21:+ cpanm --local-lib="$srcdir/perl5" App::Prove CPU::Z80::Assembler Data::Dump Data::HexDump File::Path List::Uniq Modern::Perl Object::Tiny::RW Regexp::Common Test::Harness Text::Diff Text::Table YAML::Tiny z88dk-git/lure.sh:22:+ eval $(perl -I "$srcdir/perl5/lib/perl5/" -Mlocal::lib)
eval $(perl -I "$srcdir/perl5/lib/perl5/" -Mlocal::lib)
}

build() {
export BUILD_SDCC=1
export BUILD_SDCC_HTTP=1
cd "$srcdir/z88dk"

Check failure on line 26 in z88dk-git/lure.sh

View workflow job for this annotation

GitHub Actions / runner / shfmt

[shfmt] reported by reviewdog 🐶 Raw Output: z88dk-git/lure.sh:26:- cd "$srcdir/z88dk" z88dk-git/lure.sh:27:- export BUILD_SDCC=1 BUILD_SDCC_HTTP=1 z88dk-git/lure.sh:28:- PREFIX="/usr" DESTDIR="$pkgdir" ./build.sh z88dk-git/lure.sh:26:+ cd "$srcdir/z88dk" z88dk-git/lure.sh:27:+ export BUILD_SDCC=1 BUILD_SDCC_HTTP=1 z88dk-git/lure.sh:28:+ PREFIX="/usr" DESTDIR="$pkgdir" ./build.sh
./build.sh
export BUILD_SDCC=1 BUILD_SDCC_HTTP=1
PREFIX="/usr" DESTDIR="$pkgdir" ./build.sh
}

package() {
eval "$(perl -I$HOME/perl5/lib/perl5 -Mlocal::lib)"
cpanm App::Prove File::Path CPU::Z80::Assembler Object::Tiny::RW List::Uniq YAML::Tiny
cd "$srcdir/z88dk"

Check failure on line 32 in z88dk-git/lure.sh

View workflow job for this annotation

GitHub Actions / runner / shfmt

[shfmt] reported by reviewdog 🐶 Raw Output: z88dk-git/lure.sh:32:- cd "$srcdir/z88dk" z88dk-git/lure.sh:33:- PREFIX="/usr" DESTDIR="$pkgdir" make install z88dk-git/lure.sh:32:+ cd "$srcdir/z88dk" z88dk-git/lure.sh:33:+ PREFIX="/usr" DESTDIR="$pkgdir" make install
PREFIX="$pkgdir/usr/local" make install
PREFIX="/usr" DESTDIR="$pkgdir" make install
}
Loading