Date: Wednesday, April 12, 2023 @ 23:13:20
Author: arodseth
Revision: 1445050
archrelease: copy trunk to community-x86_64
Added:
haxe/repos/community-x86_64/PKGBUILD
(from rev 1445049, haxe/trunk/PKGBUILD)
Deleted:
haxe/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 132 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 66 insertions(+), 66 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2023-04-12 23:13:13 UTC (rev 1445049)
+++ PKGBUILD 2023-04-12 23:13:20 UTC (rev 1445050)
@@ -1,66 +0,0 @@
-# Maintainer: Alexander F. Rødseth <[email protected]>
-# Contributor: Andy Li <[email protected]>
-# Contributor: Daichi Shinozaki <[email protected]>
-# Contributor: Kyle Brady <kyle at spark-gap dot com>
-# Contributor: Patrick Hof <[email protected]>
-# Contributor: Michael Fellinger <[email protected]>
-
-pkgname=haxe
-pkgver=4.2.5
-pkgrel=1
-pkgdesc='Cross-platform toolkit and programming language'
-arch=(x86_64)
-url='https://haxe.org/'
-license=(GPL LGPL MIT)
-depends=(neko mbedtls)
-makedepends=(camlp5 git neko ocaml opam zlib perl-string-shellquote
perl-ipc-system-simple)
-optdepends=(java-environment mono php python)
-options=(!strip)
-source=("$pkgname-$pkgver::git+https://github.com/HaxeFoundation/haxe#commit=e5eec3122454bfc95412437d938d1d8d3e77ed68")
# tag: 4.2.5
-b2sums=('SKIP')
-
-prepare() {
- cd $pkgname-$pkgver
- git submodule update --init
-
- # Prepare opam and ocamlfind before building
- export HOME="$srcdir"
- opam init -a --disable-sandboxing --compiler=ocaml-system
- eval $(opam env)
-
- # Install required OCaml packages
- opam install -y extlib luv ocamlfind ptmap sedlex sha xml-light
-
- # Create the script that will be placed in /etc/profile.d
- echo 'export HAXE_STD_PATH=/usr/share/haxe/std' > haxe.sh
-}
-
-build() {
- # Prepare opam and ocamlfind before building
- eval $(opam env --switch=ocaml-system)
-
- cd $pkgname-$pkgver
- make libs haxe
-
- # "make tools" did not work. These are the replacement commands:
- cd "$srcdir/$pkgname-$pkgver/extra/haxelib_src"
- ../../haxe client.hxml || true
- nekotools boot run.n
- mv run ../../haxelib
-}
-
-check() {
- cd $pkgname-$pkgver
- ./haxe -version
- ./haxelib version
-}
-
-package() {
- cd $pkgname-$pkgver
- install -d "$pkgdir/usr/"{bin/,share/haxe/}
- install -m 755 haxe{,lib} "$pkgdir"/usr/bin/
- cp -rf std "$pkgdir/usr/share/$pkgname/"
- install -Dm 644 haxe.sh "$pkgdir/etc/profile.d/haxe.sh"
- install -Dm 644 extra/LICENSE.txt \
- "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
-}
Copied: haxe/repos/community-x86_64/PKGBUILD (from rev 1445049,
haxe/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2023-04-12 23:13:20 UTC (rev 1445050)
@@ -0,0 +1,66 @@
+# Maintainer: Alexander F. Rødseth <[email protected]>
+# Contributor: Andy Li <[email protected]>
+# Contributor: Daichi Shinozaki <[email protected]>
+# Contributor: Kyle Brady <kyle at spark-gap dot com>
+# Contributor: Patrick Hof <[email protected]>
+# Contributor: Michael Fellinger <[email protected]>
+
+pkgname=haxe
+pkgver=4.3.0
+pkgrel=1
+pkgdesc='Cross-platform toolkit and programming language'
+arch=(x86_64)
+url='https://haxe.org/'
+license=(GPL LGPL MIT)
+depends=(neko mbedtls)
+makedepends=(camlp5 git neko ocaml opam zlib perl-string-shellquote
perl-ipc-system-simple)
+optdepends=(java-environment mono php python)
+options=(!strip)
+source=("$pkgname-$pkgver::git+https://github.com/HaxeFoundation/haxe#commit=731dcd71f10c495a5a820449249fbb3d4b40a7c1")
# tag: 4.3.0
+b2sums=('SKIP')
+
+prepare() {
+ cd $pkgname-$pkgver
+ git submodule update --init
+
+ # Prepare opam and ocamlfind before building
+ export HOME="$srcdir"
+ opam init -a --disable-sandboxing --compiler=ocaml-system
+ eval $(opam env)
+
+ # Install required OCaml packages
+ opam install -y extlib luv ocamlfind ptmap sedlex sha xml-light
+
+ # Create the script that will be placed in /etc/profile.d
+ echo 'export HAXE_STD_PATH=/usr/share/haxe/std' > haxe.sh
+}
+
+build() {
+ # Prepare opam and ocamlfind before building
+ eval $(opam env --switch=ocaml-system)
+
+ cd $pkgname-$pkgver
+ make libs haxe
+
+ # "make tools" did not work. These are the replacement commands:
+ cd "$srcdir/$pkgname-$pkgver/extra/haxelib_src"
+ ../../haxe client.hxml || true
+ nekotools boot run.n
+ mv run ../../haxelib
+}
+
+check() {
+ cd $pkgname-$pkgver
+ ./haxe -version
+ ./haxelib version
+}
+
+package() {
+ cd $pkgname-$pkgver
+ install -d "$pkgdir/usr/"{bin/,share/haxe/}
+ install -m 755 haxe{,lib} "$pkgdir"/usr/bin/
+ cp -rf std "$pkgdir/usr/share/$pkgname/"
+ install -Dm 644 haxe.sh "$pkgdir/etc/profile.d/haxe.sh"
+ install -Dm 644 extra/LICENSE.txt \
+ "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
+}