[arch-commits] Commit in neko/repos (2 files)

Evangelos Foutras foutrelis at archlinux.org
Wed Jan 16 14:42:23 UTC 2019


    Date: Wednesday, January 16, 2019 @ 14:42:22
  Author: foutrelis
Revision: 423514

archrelease: copy trunk to community-staging-x86_64

Added:
  neko/repos/community-staging-x86_64/
  neko/repos/community-staging-x86_64/PKGBUILD
    (from rev 423513, neko/trunk/PKGBUILD)

----------+
 PKGBUILD |   44 ++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 44 insertions(+)

Copied: neko/repos/community-staging-x86_64/PKGBUILD (from rev 423513, neko/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2019-01-16 14:42:22 UTC (rev 423514)
@@ -0,0 +1,44 @@
+# Maintainer: Alexander F Rødseth <xyproto at archlinux.org>
+# Contributor: Daichi Shinozaki <dsdseg at gmail.com>
+# Contributor: Dwight Schauer <dschauer at gmail.com>
+# Contributor: Stefan Husmann <stefan-husmann at t-online.de>
+# Contributor: Christoph Zeiler <archNOSPAM_at_moonblade.dot.org>
+# Contributor: Michael 'manveru' Fellinger <m.fellinger at gmail.com>
+# Contributor: Caleb McCombs <erdrick016+aur at gmail.com>
+# Contributor: Christian Hesse <arch at eworm.de>
+
+pkgname=neko
+pkgver=2.2.0
+pkgrel=5
+pkgdesc='High-level and dynamically typed programming language'
+url='http://nekovm.org/' # no https
+license=('LGPL')
+arch=('x86_64')
+depends=('gc' 'gtk2' 'mariadb-libs' 'mbedtls' 'sqlite')
+makedepends=('apache' 'apr' 'cmake' 'git' 'mbedtls' 'ninja')
+optdepends=('apache: for extending Apache with mod_neko')
+options=('!strip')
+source=("git+https://github.com/HaxeFoundation/neko#tag=v${pkgver//./-}")
+sha256sums=('SKIP')
+
+prepare() {
+  sed -i '/xlocale.h/d' "$pkgname/libs/std/sys.c"
+}
+
+build() {
+  mkdir -p build
+  cd build
+
+  cmake ../$pkgname \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DRUN_LDCONFIG=OFF \
+    -GNinja
+  ninja
+}
+
+package() {
+  DESTDIR="$pkgdir" ninja -C build install
+}
+
+# getver: nekovm.org/download
+# vim: ts=2 sw=2 et:


More information about the arch-commits mailing list