summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD4
-rw-r--r--fix-build.patch31
3 files changed, 26 insertions, 13 deletions
diff --git a/.SRCINFO b/.SRCINFO
index a46a25a1efe..509a1b35787 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = z88dk
pkgdesc = A small C compiler for the Zilog Z80.
pkgver = 1.99B
- pkgrel = 1
+ pkgrel = 2
url = http://z88dk.org
arch = i686
arch = x86_64
@@ -12,7 +12,7 @@ pkgbase = z88dk
source = fix-build.patch
source = z88dk.sh
md5sums = 6412a730d1b38a8ecf393683981a33ae
- md5sums = 78871c2414844d5fc812d8994a2e2121
+ md5sums = 187b8002f426323f603f654cfe47307d
md5sums = a7d56837ef0cc9fbb05d2e21ddcc335c
pkgname = z88dk
diff --git a/PKGBUILD b/PKGBUILD
index be75de0a0d4..4083f969c2c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=z88dk
pkgver=1.99B
#_pkgver=1.99A
-pkgrel=1
+pkgrel=2
pkgdesc="A small C compiler for the Zilog Z80."
arch=('i686' 'x86_64')
url="http://z88dk.org"
@@ -14,7 +14,7 @@ source=(http://downloads.sourceforge.net/project/z88dk/z88dk/${pkgver}/${pkgname
fix-build.patch
z88dk.sh)
md5sums=('6412a730d1b38a8ecf393683981a33ae'
- '78871c2414844d5fc812d8994a2e2121'
+ '187b8002f426323f603f654cfe47307d'
'a7d56837ef0cc9fbb05d2e21ddcc335c')
prepare() {
diff --git a/fix-build.patch b/fix-build.patch
index 5a6c0c5b7f8..e7d109f6a67 100644
--- a/fix-build.patch
+++ b/fix-build.patch
@@ -1,19 +1,19 @@
diff -Naur z88dk.old/build.sh z88dk/build.sh
---- z88dk.old/build.sh 2013-11-20 04:00:16.000000000 +0100
-+++ z88dk/build.sh 2016-08-21 15:37:40.462354542 +0200
-@@ -32,7 +32,7 @@
- INSTALL="ginstall"
- fi
+--- z88dk.old/build.sh 2017-01-02 20:00:20.000000000 +0100
++++ z88dk/build.sh 2017-05-06 00:15:52.089731837 +0200
+@@ -49,7 +49,7 @@
+
+ export INSTALL
-$MAKE -e
+$MAKE
$MAKE -C `pwd`/libsrc
$MAKE -C `pwd`/libsrc install
-
+ $MAKE -C `pwd`/libsrc/_DEVELOPMENT
diff -Naur z88dk.old/Makefile z88dk/Makefile
---- z88dk.old/Makefile 2015-02-05 17:11:42.000000000 +0100
-+++ z88dk/Makefile 2016-08-21 15:39:13.704352445 +0200
-@@ -73,12 +73,12 @@
+--- z88dk.old/Makefile 2016-09-09 20:00:16.000000000 +0200
++++ z88dk/Makefile 2017-05-06 00:20:51.113124076 +0200
+@@ -78,12 +78,12 @@
cd libsrc ; $(MAKE) install
install-libs:
@@ -32,3 +32,16 @@ diff -Naur z88dk.old/Makefile z88dk/Makefile
install:
mkdir -p -m 755 $(DESTDIR)/$(prefix)/bin $(DESTDIR)/$(prefix_share)/z88dk
+@@ -95,7 +95,12 @@
+ cd src/cpp ; $(MAKE) PREFIX=$(DESTDIR)/$(prefix) install
+ cd src/sccz80 ; $(MAKE) PREFIX=$(DESTDIR)/$(prefix) install
+ cd src/z80asm ; $(MAKE) PREFIX=$(DESTDIR)/$(prefix) install
++ cd src/z80nm ; $(MAKE) PREFIX=$(DESTDIR)/$(prefix) install
+ cd src/zcc ; $(MAKE) PREFIX=$(DESTDIR)/$(prefix) install
++ cd src/scanner ; $(MAKE) PREFIX=$(DESTDIR)/$(prefix) install
++ cd src/zx7 ; $(MAKE) PREFIX=$(DESTDIR)/$(prefix) install
++ cd src/ticks ; $(MAKE) PREFIX=$(DESTDIR)/$(prefix) install
++ cd support/graphics ; $(MAKE) PREFIX=$(DESTDIR)/$(prefix) install
+ ./config.sh $(prefix_share)/z88dk/ $(DEFAULT)
+ cp -R -p include $(DESTDIR)/$(prefix_share)/z88dk
+ cp -R -p lib $(DESTDIR)/$(prefix_share)/z88dk