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

Felix Yan felixonmars at archlinux.org
Thu Dec 21 09:43:40 UTC 2017


    Date: Thursday, December 21, 2017 @ 09:43:39
  Author: felixonmars
Revision: 275148

archrelease: copy trunk to community-x86_64

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

----------+
 PKGBUILD |  130 +++++++++++++++++++++++++++++++------------------------------
 1 file changed, 67 insertions(+), 63 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2017-12-21 09:43:22 UTC (rev 275147)
+++ PKGBUILD	2017-12-21 09:43:39 UTC (rev 275148)
@@ -1,63 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=ponyc
-pkgver=0.18.1
-pkgrel=1
-pkgdesc='An actor model, capabilities, high performance programming language'
-url='http://ponylang.org/'
-arch=('x86_64')
-license=('BSD')
-depends=('llvm39-libs')
-makedepends=('llvm39' 'git')
-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=('0c1c43dadf51ed77fb799de4a3aa2186b064beeed52438ffcfde6ba8414ecb9b580549840898645cded76caa8cf58a95b481710798f50443cde33319f612ee12')
-
-prepare() {
-  cd ponyc-$pkgver
-  sed -i 's/-Werror //' Makefile
-}
-
-build() {
-  cd ponyc-$pkgver
-  make config=release prefix=/usr arch=x86-64 verbose=
-
-  mkdir docs
-  build/release/ponyc packages/stdlib -rexpr -g -o docs
-}
-
-check() {
-  cd ponyc-$pkgver
-  make config=release prefix=/usr arch=x86-64 verbose= test
-}
-
-package() {
-  cd ponyc-$pkgver
-  # 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-pic.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
-}

Copied: ponyc/repos/community-x86_64/PKGBUILD (from rev 275147, ponyc/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2017-12-21 09:43:39 UTC (rev 275148)
@@ -0,0 +1,67 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=ponyc
+pkgver=0.21.0
+pkgrel=1
+pkgdesc='An actor model, capabilities, high performance programming language'
+url='http://ponylang.org/'
+arch=('x86_64')
+license=('BSD')
+depends=('llvm-libs')
+makedepends=('llvm')
+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"
+        https://github.com/winksaville/ponyc/commit/64b64a21b1be70caf4202eb1b1fa22dac1bd6575.patch)
+sha512sums=('637fca68c3e78c6bd4ad5d6d40993c8283077d582dc621bb3f56b2020d61fa153e73f2da81e573a6d4d22b37e0ebf9a1287a31dcdb9b73ce3b60eb3f4bec9068'
+            '5ff30453ef144d87a32b6c29e024dfbbb252f224b97e4d57df587e796809ca23613f3769d9e66b2f68c1b3d9033108c1c59a8d030ef515edced6d6b3b7ceb6b8')
+
+prepare() {
+  cd ponyc-$pkgver
+  sed -i 's/-Werror //' Makefile
+
+  patch -p1 -i ../64b64a21b1be70caf4202eb1b1fa22dac1bd6575.patch
+}
+
+build() {
+  cd ponyc-$pkgver
+  make config=release prefix=/usr arch=x86-64 verbose= default_pic=true
+
+  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 test
+}
+
+package() {
+  cd ponyc-$pkgver
+  # 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-pic.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
+}



More information about the arch-commits mailing list