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

Alexander Rødseth arodseth at archlinux.org
Mon Aug 14 11:03:10 UTC 2017


    Date: Monday, August 14, 2017 @ 11:03:09
  Author: arodseth
Revision: 250295

upgpkg: duktape 2.1.1-2

Modified:
  duktape/trunk/PKGBUILD

----------+
 PKGBUILD |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-08-14 11:01:03 UTC (rev 250294)
+++ PKGBUILD	2017-08-14 11:03:09 UTC (rev 250295)
@@ -3,7 +3,7 @@
 
 pkgname=duktape
 pkgver=2.1.1
-pkgrel=1
+pkgrel=2
 pkgdesc='Embeddable Javascript engine'
 arch=('x86_64' 'i686')
 url='http://duktape.org/'
@@ -19,12 +19,13 @@
   cd "$pkgname-$pkgver"
 
   mv Makefile.sharedlibrary Makefile
+  sed 's/-Wall -Wextra/$(CFLAGS)/g' -i Makefile
   setconf Makefile INSTALL_PREFIX="$pkgdir/usr"
   setconf "$srcdir/duktape.pc" Version "$pkgver"
 }
 
 build() {
-  make -C "$pkgname-$pkgver"
+  CFLAGS="$CFLAGS -D DUK_USE_FASTINT -w" make -C "$pkgname-$pkgver"
 }
 
 package() {



More information about the arch-commits mailing list