[arch-commits] Commit in neko/trunk (PKGBUILD)

Alexander Rødseth arodseth at archlinux.org
Sun Dec 20 15:45:18 UTC 2015


    Date: Sunday, December 20, 2015 @ 16:45:17
  Author: arodseth
Revision: 153778

upgpkg: neko 2.0.0-7

Modified:
  neko/trunk/PKGBUILD

----------+
 PKGBUILD |   12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-12-20 15:21:58 UTC (rev 153777)
+++ PKGBUILD	2015-12-20 15:45:17 UTC (rev 153778)
@@ -15,7 +15,7 @@
 license=('LGPL')
 arch=('x86_64' 'i686')
 depends=('gc' 'gtk2' 'libmariadbclient' 'sqlite' 'apache')
-makedepends=('pkgconfig' 'apr')
+makedepends=('pkgconfig' 'apr' 'git')
 options=('!strip')
 source=("git://github.com/HaxeFoundation/neko.git#tag=v${pkgver/.0.0/-0}"
         'neko.patch')
@@ -24,13 +24,19 @@
 
 prepare() {
   cd "$pkgname"
+
   patch -p1 -i "$srcdir/neko.patch"
 }
 
 build() {
+  cd "$pkgname"
+
   [ $CARCH = x86_64 ] && export CFLAGS+=" -D_64BITS"
-  make -C "$pkgname" clean libneko neko std
-  make -C "$pkgname" createbin compiler libs
+
+  # The Neko Makefile is a bit broken
+  for cmd in clean libneko neko std createbin compiler libs; do
+    make "$cmd"
+  done
 }
 
 check() {



More information about the arch-commits mailing list