[arch-commits] Commit in (6 files)
Alexander Rødseth
arodseth at archlinux.org
Mon Jan 11 13:50:58 UTC 2016
Date: Monday, January 11, 2016 @ 14:50:58
Author: arodseth
Revision: 156002
Add haxe
Added:
haxe/
haxe/repos/
haxe/repos/community-i686/
haxe/repos/community-x86_64/
haxe/trunk/
haxe/trunk/PKGBUILD
----------+
PKGBUILD | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 58 insertions(+)
Added: haxe/trunk/PKGBUILD
===================================================================
--- haxe/trunk/PKGBUILD (rev 0)
+++ haxe/trunk/PKGBUILD 2016-01-11 13:50:58 UTC (rev 156002)
@@ -0,0 +1,58 @@
+# $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.2.1
+pkgrel=3
+pkgdesc='Cross-platform toolkit and programming language'
+arch=('x86_64' 'i686')
+url='http://haxe.org/'
+license=('GPL' 'MIT' 'LGPL') # http://haxe.org/foundation/open-source.html
+groups=('devel')
+depends=('neko>=2.0.0')
+optdepends=('python' 'php' 'java-environment' 'mono')
+makedepends=('git' 'ocaml>=4.00.0' 'zlib' 'neko>=2.0.0' 'camlp4')
+provides=('haxe' 'haxelib')
+options=('!strip' '!makeflags')
+source=(
+ "$pkgname-${pkgver/rc?/}::git+https://github.com/HaxeFoundation/haxe.git#tag=${pkgver/rc/-rc}"
+ 'git+https://github.com/HaxeFoundation/haxelib.git'
+ 'git+https://github.com/HaxeFoundation/ocamllibs.git'
+)
+md5sums=('SKIP' 'SKIP' 'SKIP')
+
+build() {
+ cd "$pkgname-${pkgver/rc?/}"
+
+ git submodule init
+ git config submodule.extra/haxelib_src.url "$srcdir/haxelib"
+ git config submodule.libs.url "$srcdir/ocamllibs"
+ git submodule update
+
+ make
+ make tools
+}
+
+check() {
+ cd "$pkgname-${pkgver/rc?/}"
+
+ echo "haxe version:"
+ ./haxe -version
+ echo "haxelib version:"
+ ./haxelib version
+}
+
+package() {
+ install -d "$pkgdir"/usr/bin/ "$pkgdir"/usr/share/haxe/
+ install -m 755 "$srcdir/$pkgname-${pkgver/rc?/}"/{haxe,haxelib} "$pkgdir"/usr/bin/
+ cp -rf "$srcdir/$pkgname-${pkgver/rc?/}"/std "$pkgdir"/usr/share/$pkgname/
+ install -Dm 644 "$srcdir/$pkgname-${pkgver/rc?/}"/extra/LICENSE.txt \
+ "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
+}
+
+# vim:set ts=2 sw=2 et:
Property changes on: haxe/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
More information about the arch-commits
mailing list