Skip to content

Commit

Permalink
Fixes for Z88DK
Browse files Browse the repository at this point in the history
  • Loading branch information
atirut-w committed Oct 24, 2023
1 parent 9bb9f5f commit 7f8fd9b
Showing 1 changed file with 12 additions and 11 deletions.
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')
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
}

0 comments on commit 7f8fd9b

Please sign in to comment.