[arch-commits] Commit in ponyc/repos/community-x86_64 (PKGBUILD PKGBUILD)

Felix Yan felixonmars at archlinux.org
Sun Feb 28 23:16:26 UTC 2021


    Date: Sunday, February 28, 2021 @ 23:16:25
  Author: felixonmars
Revision: 876263

archrelease: copy trunk to community-x86_64

Added:
  ponyc/repos/community-x86_64/PKGBUILD
    (from rev 876262, ponyc/trunk/PKGBUILD)
Deleted:
  ponyc/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |  140 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 70 insertions(+), 70 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-02-28 23:16:10 UTC (rev 876262)
+++ PKGBUILD	2021-02-28 23:16:25 UTC (rev 876263)
@@ -1,70 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=ponyc
-pkgver=0.38.3
-_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=('benchmark' '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=('54fad9641842035378e5babb41ba1abc4a12f13f0c912380a6e578cc385ec33f1b0b03b8f3ee262a434c8a18bbb6bab5e8eca05a6704b78660607d8c694dea23'
-            '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
-
-  # https://github.com/ponylang/ponyc/issues/3628
-  sed -i '/        pony_assert(0);/a \        return false;' src/libponyc/expr/reference.c
-}
-
-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
-}

Copied: ponyc/repos/community-x86_64/PKGBUILD (from rev 876262, ponyc/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-02-28 23:16:25 UTC (rev 876263)
@@ -0,0 +1,70 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=ponyc
+pkgver=0.39.0
+_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=('benchmark' '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=('29e31c44c163a11a64f75d0e7137432a4f6937160c6dcad9e88d10720fd88e6e41ae130ba363d620d802a63d18ec54b33da5377b309a1f24374b51eccda797f6'
+            '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
+
+  # https://github.com/ponylang/ponyc/issues/3628
+  sed -i '/        pony_assert(0);/a \        return false;' src/libponyc/expr/reference.c
+}
+
+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
+}



More information about the arch-commits mailing list