[arch-commits] Commit in haxe/repos/community-x86_64 (4 files)
Alexander Rødseth
arodseth at archlinux.org
Wed Mar 14 11:15:43 UTC 2018
Date: Wednesday, March 14, 2018 @ 11:15:42
Author: arodseth
Revision: 307685
archrelease: copy trunk to community-x86_64
Added:
haxe/repos/community-x86_64/PKGBUILD
(from rev 307684, haxe/trunk/PKGBUILD)
haxe/repos/community-x86_64/haxe.sh
(from rev 307684, haxe/trunk/haxe.sh)
Deleted:
haxe/repos/community-x86_64/PKGBUILD
haxe/repos/community-x86_64/haxe.sh
----------+
PKGBUILD | 112 +++++++++++++++++++++++++++++--------------------------------
haxe.sh | 2 -
2 files changed, 55 insertions(+), 59 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-03-14 11:15:33 UTC (rev 307684)
+++ PKGBUILD 2018-03-14 11:15:42 UTC (rev 307685)
@@ -1,58 +0,0 @@
-# $Id$
-# Maintainer: Alexander F Rødseth <xyproto at archlinux.org>
-# Contributor: Daichi Shinozaki <dsdseg at gmail.com>
-# Contributor: Andy Li <andy at onthewings.net>
-# Contributor: Kyle Brady <kyle at spark-gap dot com>
-# Contributor: Patrick Hof <courts at offensivethinking.org>
-# Contributor: Michael Fellinger <mf at rubyists.com>
-
-pkgname=haxe
-pkgver=3.4.4
-pkgrel=1
-pkgdesc='Cross-platform toolkit and programming language'
-arch=('x86_64' 'i686')
-url='https://haxe.org/'
-license=('GPL' 'MIT' 'LGPL')
-groups=('devel')
-depends=('neko')
-optdepends=('python' 'php' 'java-environment' 'mono')
-makedepends=('git' 'ocaml' 'camlp4' 'zlib' 'neko')
-provides=('haxe' 'haxelib')
-options=('!strip' '!makeflags')
-source=("$pkgname-$pkgver::git+https://github.com/HaxeFoundation/haxe.git#tag=3.4.4"
- 'git+https://github.com/HaxeFoundation/haxelib.git#commit=9056886d636e9d7d0e1759195c60b0260b8c67c0'
- 'git+https://github.com/HaxeFoundation/ocamllibs.git#commit=21d6a6673a49f024ccb8306d08927fc3fabe81af'
- 'haxe.sh'
-)
-md5sums=('SKIP'
- 'SKIP'
- 'SKIP'
- '977476c8fc1dfc0acbb05bd22f9136b0')
-
-prepare() {
- cd "$pkgname-$pkgver"
-
- git submodule init
- git config submodule.extra/haxelib_src.url "$srcdir/haxelib"
- git config submodule.libs.url "$srcdir/ocamllibs"
- git submodule update
-}
-
-build() {
- make -C "$pkgname-$pkgver" all tools
-}
-
-check() {
- "$pkgname-$pkgver/haxe" -version && "$pkgname-$pkgver/haxelib" version
-}
-
-package() {
- install -d "$pkgdir/usr/"{bin/,share/haxe/}
- install -m 755 "$srcdir/$pkgname-$pkgver"/{haxe,haxelib} "$pkgdir"/usr/bin/
- cp -rf "$srcdir/$pkgname-$pkgver/std" "$pkgdir/usr/share/$pkgname/"
- install -Dm 644 "$srcdir/$pkgname-$pkgver"/extra/LICENSE.txt \
- "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
- install -Dm 644 "$srcdir/haxe.sh" "$pkgdir/etc/profile.d/haxe.sh"
-}
-
-# vim: ts=2 sw=2 et:
Copied: haxe/repos/community-x86_64/PKGBUILD (from rev 307684, haxe/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-03-14 11:15:42 UTC (rev 307685)
@@ -0,0 +1,54 @@
+# $Id$
+# Maintainer: Alexander F Rødseth <xyproto at archlinux.org>
+# Contributor: Daichi Shinozaki <dsdseg at gmail.com>
+# Contributor: Andy Li <andy at onthewings.net>
+# Contributor: Kyle Brady <kyle at spark-gap dot com>
+# Contributor: Patrick Hof <courts at offensivethinking.org>
+# Contributor: Michael Fellinger <mf at rubyists.com>
+
+pkgname=haxe
+pkgver=3.4.7
+pkgrel=1
+pkgdesc='Cross-platform toolkit and programming language'
+arch=('x86_64')
+url='https://haxe.org/'
+license=('GPL' 'MIT' 'LGPL')
+groups=('devel')
+depends=('neko')
+optdepends=('python' 'php' 'java-environment' 'mono')
+makedepends=('git' 'ocaml' 'camlp4' 'zlib' 'neko')
+provides=('haxe' 'haxelib')
+options=('!strip' '!makeflags')
+source=("$pkgname-$pkgver::git+https://github.com/HaxeFoundation/haxe.git#tag=$pkgver"
+ 'haxe.sh')
+md5sums=('SKIP'
+ '977476c8fc1dfc0acbb05bd22f9136b0')
+
+prepare() {
+ cd "$pkgname-$pkgver"
+
+ git submodule update --init --recursive
+}
+
+build() {
+ # Needed to make Haxe build with OCaml 4.06
+ # For more info, see: https://github.com/HaxeFoundation/haxe/issues/6883#issuecomment-370142073
+ export OCAMLPARAM="safe-string=0,_"
+
+ make -C "$pkgname-$pkgver" all tools
+}
+
+check() {
+ "$pkgname-$pkgver/haxe" -version && "$pkgname-$pkgver/haxelib" version
+}
+
+package() {
+ install -d "$pkgdir/usr/"{bin/,share/haxe/}
+ install -m 755 "$srcdir/$pkgname-$pkgver"/{haxe,haxelib} "$pkgdir"/usr/bin/
+ cp -rf "$srcdir/$pkgname-$pkgver/std" "$pkgdir/usr/share/$pkgname/"
+ install -Dm 644 "$srcdir/$pkgname-$pkgver"/extra/LICENSE.txt \
+ "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
+ install -Dm 644 "$srcdir/haxe.sh" "$pkgdir/etc/profile.d/haxe.sh"
+}
+
+# vim: ts=2 sw=2 et:
Deleted: haxe.sh
===================================================================
--- haxe.sh 2018-03-14 11:15:33 UTC (rev 307684)
+++ haxe.sh 2018-03-14 11:15:42 UTC (rev 307685)
@@ -1 +0,0 @@
-export HAXE_STD_PATH=/usr/share/haxe/std
Copied: haxe/repos/community-x86_64/haxe.sh (from rev 307684, haxe/trunk/haxe.sh)
===================================================================
--- haxe.sh (rev 0)
+++ haxe.sh 2018-03-14 11:15:42 UTC (rev 307685)
@@ -0,0 +1 @@
+export HAXE_STD_PATH=/usr/share/haxe/std
More information about the arch-commits
mailing list