[arch-commits] Commit in ponyc/trunk (PKGBUILD)

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


    Date: Thursday, December 21, 2017 @ 09:43:22
  Author: felixonmars
Revision: 275147

upgpkg: ponyc 0.21.0-1

Modified:
  ponyc/trunk/PKGBUILD

----------+
 PKGBUILD |   20 ++++++++++++--------
 1 file changed, 12 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-12-21 09:33:10 UTC (rev 275146)
+++ PKGBUILD	2017-12-21 09:43:22 UTC (rev 275147)
@@ -2,28 +2,32 @@
 # Maintainer: Felix Yan <felixonmars at archlinux.org>
 
 pkgname=ponyc
-pkgver=0.18.1
+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=('llvm39-libs')
-makedepends=('llvm39' 'git')
+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")
-sha512sums=('0c1c43dadf51ed77fb799de4a3aa2186b064beeed52438ffcfde6ba8414ecb9b580549840898645cded76caa8cf58a95b481710798f50443cde33319f612ee12')
+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=
+  make config=release prefix=/usr arch=x86-64 verbose= default_pic=true
 
   mkdir docs
   build/release/ponyc packages/stdlib -rexpr -g -o docs
@@ -31,7 +35,7 @@
 
 check() {
   cd ponyc-$pkgver
-  make config=release prefix=/usr arch=x86-64 verbose= test
+  make config=release prefix=/usr arch=x86-64 verbose= default_pic=true test
 }
 
 package() {



More information about the arch-commits mailing list