[arch-commits] Commit in ponyc/repos (2 files)

2020-06-30 Thread Felix Yan via arch-commits
Date: Tuesday, June 30, 2020 @ 23:53:54
  Author: felixonmars
Revision: 657218

archrelease: copy trunk to community-testing-x86_64

Added:
  ponyc/repos/community-testing-x86_64/
  ponyc/repos/community-testing-x86_64/PKGBUILD
(from rev 657217, ponyc/trunk/PKGBUILD)

--+
 PKGBUILD |   68 +
 1 file changed, 68 insertions(+)

Copied: ponyc/repos/community-testing-x86_64/PKGBUILD (from rev 657217, 
ponyc/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2020-06-30 23:53:54 UTC (rev 657218)
@@ -0,0 +1,68 @@
+# Maintainer: Felix Yan 
+
+pkgname=ponyc
+pkgver=0.35.1
+_llvmcommit=c1a0a213378a458fbea1a5c77b315c7dce08fd05
+pkgrel=1
+pkgdesc='An actor model, capabilities, high performance programming language'
+url='https://ponylang.org/'
+arch=('x86_64')
+license=('BSD')
+depends=('zlib')
+makedepends=('cmake' 'git' 'gmock' 'grpc' 'gtest')
+checkdepends=('pcre2')
+options=('!strip')
+optdepends=('pcre2: Needed for the regex package')
+source=("https://github.com/ponylang/ponyc/archive/$pkgver/$pkgname-$pkgver.tar.gz;
+
"https://github.com/llvm/llvm-project/archive/$_llvmcommit/llvm-$_llvmcommit.tar.gz;)
+sha512sums=('a602442d8acb347b36d85ea77b181993704c52bff079d9d95f2b453b1db077554e1003e6456885b2d584fed816869699325a37d263407971cb1ca8469aa94995'
+
'0c0b5f2c32479c148abebcc170651f5e6fc02177d3cf5638381ef177815f6c2223de7d4c082faa9de765a56ef1fba021583a748a5d009860b84979dc8d5ee064')
+
+prepare() {
+  cd ponyc-$pkgver
+  rmdir lib/llvm/src
+  ln -sf "$srcdir"/llvm-project-$_llvmcommit lib/llvm/src
+
+  # Use system gmock/gtest/gbenchmark
+  sed -i 's|NO_DEFAULT_PATH||' CMakeLists.txt
+
+  # Don't download gbenchmark/gtest
+  sed -i '12,20d' lib/CMakeLists.txt
+  # sed -i 's/-Werror //' CMakeLists.txt
+}
+
+build() {
+  cd ponyc-$pkgver
+  make config=release prefix=/usr arch=x86-64 libs
+  make config=release prefix=/usr arch=x86-64 configure
+  make config=release prefix=/usr arch=x86-64 build
+
+  mkdir docs
+  build/release/ponyc packages/stdlib -rexpr -g -o docs
+}
+
+check() {
+  cd ponyc-$pkgver
+  make config=release prefix=/usr arch=x86-64 test
+}
+
+package() {
+  cd ponyc-$pkgver
+  make config=release arch= DESTDIR="$pkgdir"/usr/lib/pony install
+
+  install -dm755 "$pkgdir"/usr/{bin,lib,include/pony/detail}
+  ln -sf /usr/lib/pony/bin/ponyc "$pkgdir"/usr/bin/
+  for _lib in {libponyc,libponyrt,libponyrt-pic}.a; do
+ln -sf /usr/lib/pony/lib/$_lib "$pkgdir"/usr/lib/
+  done
+  ln -sf /usr/lib/pony/include/pony.h "$pkgdir"/usr/include/
+  ln -sf /usr/lib/pony/include/pony/detail/atomics.h 
"$pkgdir"/usr/include/pony/detail/
+
+  # Let's include the examples as documentation is scarce.
+  install -dm755 "$pkgdir"/usr/share/doc/pony
+  cp -dr --no-preserve=ownership examples "$pkgdir"/usr/share/doc/pony
+
+  cp -dr docs/* "$pkgdir"/usr/share/doc/pony
+
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/"$pkgname"/LICENSE
+}


[arch-commits] Commit in ponyc/repos (2 files)

2020-04-15 Thread Evangelos Foutras via arch-commits
Date: Thursday, April 16, 2020 @ 01:58:28
  Author: foutrelis
Revision: 615113

archrelease: copy trunk to community-testing-x86_64

Added:
  ponyc/repos/community-testing-x86_64/
  ponyc/repos/community-testing-x86_64/PKGBUILD
(from rev 615112, ponyc/trunk/PKGBUILD)

--+
 PKGBUILD |   51 +++
 1 file changed, 51 insertions(+)

Copied: ponyc/repos/community-testing-x86_64/PKGBUILD (from rev 615112, 
ponyc/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2020-04-16 01:58:28 UTC (rev 615113)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+
+pkgname=ponyc
+pkgver=0.33.2
+pkgrel=2
+pkgdesc='An actor model, capabilities, high performance programming language'
+url='https://ponylang.org/'
+arch=('x86_64')
+license=('BSD')
+depends=('llvm9-libs')
+makedepends=('llvm9')
+checkdepends=('pcre2')
+options=('!strip')
+optdepends=('pcre2: Needed for the regex package')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/ponylang/ponyc/archive/$pkgver.tar.gz;)
+sha512sums=('cc02bdac029325689fbe7a5c9e8c9f8a8adf9346e17a6c626c9eca8dcae110c3cf4fb9af348b603e9804dff97183e02687f092d76b62e4bb13e571cd1c7585e8')
+
+prepare() {
+  cd ponyc-$pkgver
+  sed -i 's/-Werror //' Makefile
+}
+
+build() {
+  cd ponyc-$pkgver
+  make config=release prefix=/usr arch=x86-64 verbose= default_pic=true 
default_ssl=openssl_1.1.0 link=llvm-dynamic
+
+  mkdir docs
+  build/release/ponyc packages/stdlib -rexpr -g -o docs
+}
+
+check() {
+  cd ponyc-$pkgver
+  make config=release prefix=/usr arch=x86-64 verbose= default_pic=true 
default_ssl=openssl_1.1.0 link=llvm-dynamic test
+}
+
+package() {
+  cd ponyc-$pkgver
+  make config=release prefix=/usr arch=x86-64 verbose= default_pic=true 
default_ssl=openssl_1.1.0 link=llvm-dynamic ponydir=/usr/lib/pony/"$pkgver" 
DESTDIR="$pkgdir" install
+
+  # Ponyc is designed to read its standard packages from the same directory.
+  install -dm755 "$pkgdir"/usr/bin
+  ln -sf /usr/lib/pony/"$pkgver"/bin/ponyc "$pkgdir"/usr/bin
+
+  # Let's include the examples as documentation is scarce.
+  install -dm755 "$pkgdir"/usr/share/doc/pony
+  cp -dr --no-preserve=ownership examples "$pkgdir"/usr/share/doc/pony
+
+  cp -dr docs/* "$pkgdir"/usr/share/doc/pony
+
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/"$pkgname"/LICENSE
+}


[arch-commits] Commit in ponyc/repos (2 files)

2019-03-28 Thread Evangelos Foutras via arch-commits
Date: Thursday, March 28, 2019 @ 10:53:27
  Author: foutrelis
Revision: 445253

archrelease: copy trunk to community-staging-x86_64

Added:
  ponyc/repos/community-staging-x86_64/
  ponyc/repos/community-staging-x86_64/PKGBUILD
(from rev 445252, ponyc/trunk/PKGBUILD)

--+
 PKGBUILD |   51 +++
 1 file changed, 51 insertions(+)

Copied: ponyc/repos/community-staging-x86_64/PKGBUILD (from rev 445252, 
ponyc/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-03-28 10:53:27 UTC (rev 445253)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+
+pkgname=ponyc
+pkgver=0.28.0
+pkgrel=2
+pkgdesc='An actor model, capabilities, high performance programming language'
+url='http://ponylang.org/'
+arch=('x86_64')
+license=('BSD')
+depends=('llvm7-libs')
+makedepends=('llvm7')
+checkdepends=('pcre2')
+options=('!strip')
+optdepends=('pcre2: Needed for the regex package')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/ponylang/ponyc/archive/$pkgver.tar.gz;)
+sha512sums=('084ee4947bc0b3eb935ae53de8cd41e021a31f009f5280352378929543828fb6ed6be1f7010423821593e0d6d6f00b1f3c4b7a995157199a35caef6f5cd1b5ea')
+
+prepare() {
+  cd ponyc-$pkgver
+  sed -i 's/-Werror //' Makefile
+}
+
+build() {
+  cd ponyc-$pkgver
+  make config=release prefix=/usr arch=x86-64 verbose= default_pic=true 
default_ssl=openssl_1.1.0
+
+  mkdir docs
+  build/release/ponyc packages/stdlib -rexpr -g -o docs
+}
+
+check() {
+  cd ponyc-$pkgver
+  make config=release prefix=/usr arch=x86-64 verbose= default_pic=true 
default_ssl=openssl_1.1.0 test
+}
+
+package() {
+  cd ponyc-$pkgver
+  make config=release prefix=/usr arch=x86-64 verbose= default_pic=true 
default_ssl=openssl_1.1.0 ponydir=/usr/lib/pony/"$pkgver" DESTDIR="$pkgdir" 
install
+
+  # Ponyc is designed to read its standard packages from the same directory.
+  install -dm755 "$pkgdir"/usr/bin
+  ln -sf /usr/lib/pony/"$pkgver"/bin/ponyc "$pkgdir"/usr/bin
+
+  # Let's include the examples as documentation is scarce.
+  install -dm755 "$pkgdir"/usr/share/doc/pony
+  cp -dr --no-preserve=ownership examples "$pkgdir"/usr/share/doc/pony
+
+  cp -dr docs/* "$pkgdir"/usr/share/doc/pony
+
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/"$pkgname"/LICENSE
+}


[arch-commits] Commit in ponyc/repos (2 files)

2018-09-27 Thread Evangelos Foutras via arch-commits
Date: Thursday, September 27, 2018 @ 22:08:18
  Author: foutrelis
Revision: 386770

archrelease: copy trunk to community-staging-x86_64

Added:
  ponyc/repos/community-staging-x86_64/
  ponyc/repos/community-staging-x86_64/PKGBUILD
(from rev 386769, ponyc/trunk/PKGBUILD)

--+
 PKGBUILD |   51 +++
 1 file changed, 51 insertions(+)

Copied: ponyc/repos/community-staging-x86_64/PKGBUILD (from rev 386769, 
ponyc/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-09-27 22:08:18 UTC (rev 386770)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+
+pkgname=ponyc
+pkgver=0.24.4
+pkgrel=2
+pkgdesc='An actor model, capabilities, high performance programming language'
+url='http://ponylang.org/'
+arch=('x86_64')
+license=('BSD')
+depends=('llvm6-libs')
+makedepends=('llvm6')
+checkdepends=('pcre2')
+options=('!strip')
+optdepends=('pcre2: Needed for the regex package')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/ponylang/ponyc/archive/$pkgver.tar.gz;)
+sha512sums=('2e89cc44c3b5449b203e9d2c3669578a63177978523964776079ec0ebb7e706a7eeff2c7d64a814fc6e847fd18dc613edb693c5710d9ac89b6ce5dc00d5a')
+
+prepare() {
+  cd ponyc-$pkgver
+  sed -i 's/-Werror //' Makefile
+}
+
+build() {
+  cd ponyc-$pkgver
+  make config=release prefix=/usr arch=x86-64 verbose= default_pic=true 
default_ssl=openssl_1.1.0
+
+  mkdir docs
+  build/release/ponyc packages/stdlib -rexpr -g -o docs
+}
+
+check() {
+  cd ponyc-$pkgver
+  make config=release prefix=/usr arch=x86-64 verbose= default_pic=true 
default_ssl=openssl_1.1.0 test
+}
+
+package() {
+  cd ponyc-$pkgver
+  make config=release prefix=/usr arch=x86-64 verbose= default_pic=true 
default_ssl=openssl_1.1.0 ponydir=/usr/lib/pony/"$pkgver" DESTDIR="$pkgdir" 
install
+
+  # Ponyc is designed to read its standard packages from the same directory.
+  install -dm755 "$pkgdir"/usr/bin
+  ln -sf /usr/lib/pony/"$pkgver"/bin/ponyc "$pkgdir"/usr/bin
+
+  # Let's include the examples as documentation is scarce.
+  install -dm755 "$pkgdir"/usr/share/doc/pony
+  cp -dr --no-preserve=ownership examples "$pkgdir"/usr/share/doc/pony
+
+  cp -dr docs/* "$pkgdir"/usr/share/doc/pony
+
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/"$pkgname"/LICENSE
+}


[arch-commits] Commit in ponyc/repos (2 files)

2015-12-05 Thread Bartłomiej Piotrowski
Date: Sunday, December 6, 2015 @ 02:02:56
  Author: bpiotrowski
Revision: 148712

archrelease: copy trunk to community-staging-x86_64

Added:
  ponyc/repos/community-staging-x86_64/
  ponyc/repos/community-staging-x86_64/PKGBUILD
(from rev 148711, ponyc/trunk/PKGBUILD)

--+
 PKGBUILD |   59 +++
 1 file changed, 59 insertions(+)

Copied: ponyc/repos/community-staging-x86_64/PKGBUILD (from rev 148711, 
ponyc/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2015-12-06 01:02:56 UTC (rev 148712)
@@ -0,0 +1,59 @@
+# $Id$
+# Maintainer: Felix Yan 
+
+pkgname=ponyc
+pkgver=0.2.1.20151028
+_commit=57461c42c306319128608b02b10997c1b0827803
+pkgrel=2
+pkgdesc='An actor model, capabilities, high performance programming language'
+url='http://ponylang.org/'
+arch=('x86_64')
+license=('BSD')
+depends=('zlib' 'ncurses' 'gcc-libs')
+makedepends=('llvm' 'git')
+checkdepends=('pcre2')
+options=('!strip')
+optdepends=('pcre2: Needed for the regex package.')
+source=("git+https://github.com/CausalityLtd/ponyc.git#commit=$_commit;)
+sha512sums=('SKIP')
+
+build() {
+  cd ponyc
+  make config=release prefix=/usr arch=x86-64
+
+  mkdir docs
+  build/release/ponyc packages/stdlib -rexpr -g -o docs
+}
+
+check() {
+  cd ponyc
+  make config=release prefix=/usr arch=x86-64 test
+}
+
+package() {
+  cd ponyc
+  # The makefile is very strange and requires almost as much post-correction
+  # as to simply do the installation myself.  Even with patches to the
+  # makefile to stop it attempting to symlink locations it has no business
+  # touching.
+  #make config=release prefix=/usr destdir="$pkgdir"/usr/lib/pony/"$pkgver" 
install
+
+  install -Dm755 build/release/ponyc "$pkgdir"/usr/lib/pony/"$pkgver"/bin/ponyc
+  install -Dm644 build/release/libponyrt.a "$pkgdir"/usr/lib/libponyrt.a
+  install -Dm644 build/release/libponyc.a "$pkgdir"/usr/lib/libponyc.a
+  install -Dm644 src/libponyrt/pony.h "$pkgdir"/usr/include/pony.h
+
+  # Ponyc is designed to read its standard packages from the same directory.
+  install -dm755 "$pkgdir"/usr/bin
+  ln -sf /usr/lib/pony/"$pkgver"/bin/ponyc "$pkgdir"/usr/bin
+
+  cp -dr --no-preserve=ownership packages "$pkgdir"/usr/lib/pony/"$pkgver"
+
+  # Let's include the examples as documentation is scarce.
+  install -dm755 "$pkgdir"/usr/share/doc/pony
+  cp -dr --no-preserve=ownership examples "$pkgdir"/usr/share/doc/pony
+
+  cp -dr docs/* "$pkgdir"/usr/share/doc/pony
+
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/"$pkgname"/LICENSE
+}


[arch-commits] Commit in ponyc/repos (2 files)

2015-10-26 Thread Felix Yan
Date: Monday, October 26, 2015 @ 15:20:10
  Author: fyan
Revision: 145017

archrelease: copy trunk to community-testing-x86_64

Added:
  ponyc/repos/community-testing-x86_64/
  ponyc/repos/community-testing-x86_64/PKGBUILD
(from rev 145016, ponyc/trunk/PKGBUILD)

--+
 PKGBUILD |   59 +++
 1 file changed, 59 insertions(+)

Copied: ponyc/repos/community-testing-x86_64/PKGBUILD (from rev 145016, 
ponyc/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2015-10-26 14:20:10 UTC (rev 145017)
@@ -0,0 +1,59 @@
+# $Id$
+# Maintainer: Felix Yan 
+
+pkgname=ponyc
+pkgver=0.2.1.20151021
+_commit=b1a312cfc487713758ceccf1bf649f1f64f0f9ed
+pkgrel=1
+pkgdesc='An actor model, capabilities, high performance programming language'
+url='http://ponylang.org/'
+arch=('x86_64')
+license=('BSD')
+depends=('zlib' 'ncurses' 'gcc-libs')
+makedepends=('llvm' 'git')
+checkdepends=('pcre2')
+options=('!strip')
+optdepends=('pcre2: Needed for the regex package.')
+source=("git+https://github.com/CausalityLtd/ponyc.git#commit=$_commit;)
+sha512sums=('SKIP')
+
+build() {
+  cd ponyc
+  make config=release prefix=/usr arch=x86-64
+
+  mkdir docs
+  build/release/ponyc packages/stdlib -rexpr -g -o docs
+}
+
+check() {
+  cd ponyc
+  make config=release prefix=/usr arch=x86-64 test
+}
+
+package() {
+  cd ponyc
+  # The makefile is very strange and requires almost as much post-correction
+  # as to simply do the installation myself.  Even with patches to the
+  # makefile to stop it attempting to symlink locations it has no business
+  # touching.
+  #make config=release prefix=/usr destdir="$pkgdir"/usr/lib/pony/"$pkgver" 
install
+
+  install -Dm755 build/release/ponyc "$pkgdir"/usr/lib/pony/"$pkgver"/bin/ponyc
+  install -Dm644 build/release/libponyrt.a "$pkgdir"/usr/lib/libponyrt.a
+  install -Dm644 build/release/libponyc.a "$pkgdir"/usr/lib/libponyc.a
+  install -Dm644 src/libponyrt/pony.h "$pkgdir"/usr/include/pony.h
+
+  # Ponyc is designed to read its standard packages from the same directory.
+  install -dm755 "$pkgdir"/usr/bin
+  ln -sf /usr/lib/pony/"$pkgver"/bin/ponyc "$pkgdir"/usr/bin
+
+  cp -dr --no-preserve=ownership packages "$pkgdir"/usr/lib/pony/"$pkgver"
+
+  # Let's include the examples as documentation is scarce.
+  install -dm755 "$pkgdir"/usr/share/doc/pony
+  cp -dr --no-preserve=ownership examples "$pkgdir"/usr/share/doc/pony
+
+  cp -dr docs/* "$pkgdir"/usr/share/doc/pony
+
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/"$pkgname"/LICENSE
+}


[arch-commits] Commit in ponyc/repos (2 files)

2015-09-09 Thread Allan McRae
Date: Thursday, September 10, 2015 @ 05:48:37
  Author: allan
Revision: 139735

archrelease: copy trunk to community-staging-x86_64

Added:
  ponyc/repos/community-staging-x86_64/
  ponyc/repos/community-staging-x86_64/PKGBUILD
(from rev 139734, ponyc/trunk/PKGBUILD)

--+
 PKGBUILD |   49 +
 1 file changed, 49 insertions(+)

Copied: ponyc/repos/community-staging-x86_64/PKGBUILD (from rev 139734, 
ponyc/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2015-09-10 03:48:37 UTC (rev 139735)
@@ -0,0 +1,49 @@
+# $Id$
+# Maintainer: Felix Yan 
+
+pkgname=ponyc
+pkgver=0.1.7
+pkgrel=3
+pkgdesc='An actor model, capabilities, high performance programming language.'
+url='http://ponylang.org/'
+arch=('x86_64')
+license=('BSD')
+depends=('zlib' 'ncurses' 'gcc-libs')
+makedepends=('llvm')
+checkdepends=('pcre2')
+optdepends=('pcre2: Needed for the regex package.')
+source=("http://releases.ponylang.org/source/ponyc-$pkgver.tar.bz2;)
+sha512sums=('018c77a5848efee95f2733e54995ee2f06874b8dae45c46c93066144e00dd93b12eaa56dbf1a83b7e1d8eeaac3decf9706ebe8a56f97c8d789f8ce07a7c4da78')
+
+build() {
+  make config=release prefix=/usr arch=core2
+}
+
+check() {
+  make config=release prefix=/usr arch=core2 test
+}
+
+package() {
+  # The makefile is very strange and requires almost as much post-correction
+  # as to simply do the installation myself.  Even with patches to the
+  # makefile to stop it attempting to symlink locations it has no business
+  # touching.
+  #make config=release prefix=/usr destdir="$pkgdir"/usr/lib/pony/"$pkgver" 
install
+
+  install -Dm755 build/release/ponyc "$pkgdir"/usr/lib/pony/"$pkgver"/ponyc
+  install -Dm644 build/release/libponyrt.a "$pkgdir"/usr/lib/libponyrt.a
+  install -Dm644 build/release/libponyc.a "$pkgdir"/usr/lib/libponyc.a
+  install -Dm644 src/libponyrt/pony.h "$pkgdir"/usr/include/pony.h
+
+  # Ponyc is designed to read its standard packages from the same directory.
+  install -dm755 "$pkgdir"/usr/bin
+  ln -sf /usr/lib/pony/"$pkgver"/ponyc "$pkgdir"/usr/bin/ponyc
+
+  cp -dr --no-preserve=ownership packages/* "$pkgdir"/usr/lib/pony/"$pkgver"
+
+  # Let's include the examples as documentation is scarce.
+  install -dm755 "$pkgdir"/usr/share/doc/pony
+  cp -dr --no-preserve=ownership examples "$pkgdir"/usr/share/doc/pony
+
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/"$pkgname"/LICENSE
+}