Date: Thursday, February 8, 2018 @ 23:51:17 Author: kkeen Revision: 290427
archrelease: copy trunk to community-staging-x86_64 Added: neko/repos/community-staging-x86_64/ neko/repos/community-staging-x86_64/PKGBUILD (from rev 290426, neko/trunk/PKGBUILD) ----------+ PKGBUILD | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) Copied: neko/repos/community-staging-x86_64/PKGBUILD (from rev 290426, neko/trunk/PKGBUILD) =================================================================== --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-02-08 23:51:17 UTC (rev 290427) @@ -0,0 +1,44 @@ +# Maintainer: Alexander F Rødseth <xypr...@archlinux.org> +# Contributor: Daichi Shinozaki <dsd...@gmail.com> +# Contributor: Dwight Schauer <dscha...@gmail.com> +# Contributor: Stefan Husmann <stefan-husm...@t-online.de> +# Contributor: Christoph Zeiler <archNOSPAM_at_moonblade.dot.org> +# Contributor: Michael 'manveru' Fellinger <m.fellin...@gmail.com> +# Contributor: Caleb McCombs <erdrick016+...@gmail.com> +# Contributor: Christian Hesse <a...@eworm.de> + +pkgname=neko +pkgver=2.2.0 +pkgrel=2 +pkgdesc='High-level and dynamically typed programming language' +url='http://nekovm.org/' # no https +license=('LGPL') +arch=('x86_64') +depends=('gc' 'gtk2' 'libmariadbclient' '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: