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

Felix Yan felixonmars at archlinux.org
Thu Sep 27 17:20:18 UTC 2018


    Date: Thursday, September 27, 2018 @ 17:20:18
  Author: felixonmars
Revision: 386559

upgpkg: ponyc 0.24.4-1

Modified:
  ponyc/trunk/PKGBUILD

----------+
 PKGBUILD |   17 +++--------------
 1 file changed, 3 insertions(+), 14 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-09-27 17:15:39 UTC (rev 386558)
+++ PKGBUILD	2018-09-27 17:20:18 UTC (rev 386559)
@@ -1,7 +1,7 @@
 # Maintainer: Felix Yan <felixonmars at archlinux.org>
 
 pkgname=ponyc
-pkgver=0.24.0
+pkgver=0.24.4
 pkgrel=1
 pkgdesc='An actor model, capabilities, high performance programming language'
 url='http://ponylang.org/'
@@ -13,7 +13,7 @@
 options=('!strip')
 optdepends=('pcre2: Needed for the regex package')
 source=("$pkgname-$pkgver.tar.gz::https://github.com/ponylang/ponyc/archive/$pkgver.tar.gz")
-sha512sums=('57528906d321d48d7d5536ec1c897ae26674af9dcaf1bdd138e337e03f74dedc255dcccf0697222cb1b407b47ca181f0327275822dfc228019289f967ad3436b')
+sha512sums=('2e89cc44c3b5449b203e9d2c3669578a63177978523964776079ec0ebb7e706a7eeff2c7d64a814faaaac6e847fd18dc613edb693c5710d9ac89b6ce5dc00d5a')
 
 prepare() {
   cd ponyc-$pkgver
@@ -35,23 +35,12 @@
 
 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
+  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
 
-  install -Dm755 build/release/ponyc "$pkgdir"/usr/lib/pony/"$pkgver"/bin/ponyc
-  install -Dm644 build/release/libponyrt-pic.a "$pkgdir"/usr/lib/libponyrt-pic.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



More information about the arch-commits mailing list