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

Felix Yan felixonmars at archlinux.org
Mon Dec 16 18:32:01 UTC 2019


    Date: Monday, December 16, 2019 @ 18:32:00
  Author: felixonmars
Revision: 537874

archrelease: copy trunk to community-x86_64

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-12-16 18:31:48 UTC (rev 537873)
+++ PKGBUILD	2019-12-16 18:32:00 UTC (rev 537874)
@@ -1,51 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=ponyc
-pkgver=0.33.0
-pkgrel=1
-pkgdesc='An actor model, capabilities, high performance programming language'
-url='https://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=('bc867af4334ca4aff5c4eefad9ac5ee3ea6027a4f021c5af4ae144a310f14c99207878ca24017face7c543bb7b4f8ee801c49d9368f5a3e6e7763abc5f867a6a')
-
-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
-}

Copied: ponyc/repos/community-x86_64/PKGBUILD (from rev 537873, ponyc/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-12-16 18:32:00 UTC (rev 537874)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=ponyc
+pkgver=0.33.1
+pkgrel=1
+pkgdesc='An actor model, capabilities, high performance programming language'
+url='https://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=('027e8833a09307746c024312fdfe7262257de86bedf32ec5e75aafcd8da9e1b080911569707869bd0067275ed3078e7362f0e72bfb1fa6785f8e62a182dfa116')
+
+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
+}


More information about the arch-commits mailing list