community/neko to 2.1.0-3

This commit is contained in:
Kevin Mihelich 2017-10-30 18:11:24 +00:00
parent 679409c875
commit a4f30152f4

View file

@ -12,18 +12,20 @@
pkgname=neko
pkgver=2.1.0
pkgrel=1
pkgdesc='High-level dynamically typed programming language'
url='http://nekovm.org/'
pkgrel=3
pkgdesc='High-level and dynamically typed programming language'
url='http://nekovm.org/' # no https
license=('LGPL')
arch=('x86_64' 'i686')
depends=('gc' 'gtk2' 'libmariadbclient' 'sqlite' 'apache' 'mbedtls')
makedepends=('pkgconfig' 'apr' 'git' 'ninja' 'mbedtls' 'cmake')
depends=('gc' 'gtk2' 'libmariadbclient' 'mbedtls' 'sqlite')
makedepends=('apache' 'apr' 'cmake' 'git' 'mbedtls' 'ninja' 'pkgconfig')
optdepends=('apache: for extending Apache with mod_neko')
options=('!strip')
source=("git://github.com/HaxeFoundation/neko#tag=v${pkgver//./-}")
source=("git+https://github.com/HaxeFoundation/neko#tag=v${pkgver//./-}")
sha256sums=('SKIP')
prepare() {
sed -i '/xlocale.h/d' "$srcdir/$pkgname/libs/std/sys.c"
if [[ $CARCH != "aarch64" ]]; then sed -i '/mincoming-stack-boundary/d' $pkgname/CMakeLists.txt; fi
}
@ -31,7 +33,7 @@ build() {
mkdir -p build
cd build
cmake "../$pkgname" \
cmake ../$pkgname \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-GNinja
@ -43,4 +45,4 @@ package() {
}
# getver: nekovm.org/download
# vim:set ts=2 sw=2 et:
# vim: ts=2 sw=2 et: