community/neko to 2.2.0-6

This commit is contained in:
Kevin Mihelich 2019-02-21 13:36:59 +00:00
parent bba99aed96
commit 010ebea42c

View file

@ -1,4 +1,4 @@
# Maintainer: Alexander F Rødseth <xyproto@archlinux.org>
# Maintainer: Alexander F. Rødseth <xyproto@archlinux.org>
# Contributor: Daichi Shinozaki <dsdseg@gmail.com>
# Contributor: Dwight Schauer <dschauer@gmail.com>
# Contributor: Stefan Husmann <stefan-husmann@t-online.de>
@ -12,27 +12,26 @@
pkgname=neko
pkgver=2.2.0
pkgrel=5
pkgrel=6
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')
url='https://nekovm.org/'
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')
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"
sed -i '/xlocale.h/d' $pkgname/libs/std/sys.c
if [[ $CARCH != "aarch64" ]]; then sed -i '/mincoming-stack-boundary/d' $pkgname/CMakeLists.txt; fi
}
build() {
mkdir -p build
cd build
cmake ../$pkgname \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \