[arch-commits] Commit in haxe/repos (2 files)
Alexander Rødseth
arodseth at archlinux.org
Mon Jan 11 13:59:00 UTC 2016
Date: Monday, January 11, 2016 @ 14:58:59
Author: arodseth
Revision: 156003
archrelease: copy trunk to community-x86_64, community-i686
Added:
haxe/repos/community-i686/PKGBUILD
(from rev 156002, haxe/trunk/PKGBUILD)
haxe/repos/community-x86_64/PKGBUILD
(from rev 156002, haxe/trunk/PKGBUILD)
---------------------------+
community-i686/PKGBUILD | 58 ++++++++++++++++++++++++++++++++++++++++++++
community-x86_64/PKGBUILD | 58 ++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 116 insertions(+)
Copied: haxe/repos/community-i686/PKGBUILD (from rev 156002, haxe/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2016-01-11 13:58:59 UTC (rev 156003)
@@ -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:
Copied: haxe/repos/community-x86_64/PKGBUILD (from rev 156002, haxe/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2016-01-11 13:58:59 UTC (rev 156003)
@@ -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:
More information about the arch-commits
mailing list