-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
12 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 GitHub Actions / runner / shfmt
|
||
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 GitHub Actions / runner / shfmt
|
||
./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 GitHub Actions / runner / shfmt
|
||
PREFIX="$pkgdir/usr/local" make install | ||
PREFIX="/usr" DESTDIR="$pkgdir" make install | ||
} |