[arch-commits] Commit in ponyc/repos/community-x86_64 (PKGBUILD PKGBUILD)
Felix Yan
fyan at archlinux.org
Mon Jun 22 03:49:55 UTC 2015
Date: Monday, June 22, 2015 @ 05:49:55
Author: fyan
Revision: 135682
archrelease: copy trunk to community-x86_64
Added:
ponyc/repos/community-x86_64/PKGBUILD
(from rev 135681, ponyc/trunk/PKGBUILD)
Deleted:
ponyc/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 98 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 49 insertions(+), 49 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2015-06-22 03:49:35 UTC (rev 135681)
+++ PKGBUILD 2015-06-22 03:49:55 UTC (rev 135682)
@@ -1,49 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=ponyc
-pkgver=0.1.6
-pkgrel=1
-pkgdesc='An actor model, capabilities, high performance programming language.'
-url='http://ponylang.org/'
-arch=('x86_64')
-license=('BSD')
-depends=('zlib' 'ncurses' 'gcc-libs')
-makedepends=('llvm')
-checkdepends=('pcre2')
-optdepends=('pcre2: Needed for the regex package.')
-source=("http://www.ponylang.org/releases/source/ponyc-$pkgver.tar.bz2")
-sha512sums=('058c5f83ea4d598d84e0e3abd975a29d64e96a2617adb1774fab7052865aa8d6ca250c50f2fd280033d4d3dfdf1edf5335dc4e5c92145a24dcfd10ce26007083')
-
-build() {
- make config=release prefix=/usr
-}
-
-check() {
- make config=release prefix=/usr test
-}
-
-package() {
- # 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"/ponyc
- install -Dm644 build/release/libponyrt.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"/ponyc "$pkgdir"/usr/bin/ponyc
-
- 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
-
- install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/"$pkgname"/LICENSE
-}
Copied: ponyc/repos/community-x86_64/PKGBUILD (from rev 135681, ponyc/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2015-06-22 03:49:55 UTC (rev 135682)
@@ -0,0 +1,49 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=ponyc
+pkgver=0.1.7
+pkgrel=1
+pkgdesc='An actor model, capabilities, high performance programming language.'
+url='http://ponylang.org/'
+arch=('x86_64')
+license=('BSD')
+depends=('zlib' 'ncurses' 'gcc-libs')
+makedepends=('llvm')
+checkdepends=('pcre2')
+optdepends=('pcre2: Needed for the regex package.')
+source=("http://www.ponylang.org/releases/source/ponyc-$pkgver.tar.bz2")
+sha512sums=('018c77a5848efee95f2733e54995ee2f06874b8dae45c46c93066144e00dd93b12eaa56dbf1a83b7e1d8eeaac3decf9706ebe8a56f97c8d789f8ce07a7c4da78')
+
+build() {
+ make config=release prefix=/usr
+}
+
+check() {
+ make config=release prefix=/usr test
+}
+
+package() {
+ # 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"/ponyc
+ install -Dm644 build/release/libponyrt.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"/ponyc "$pkgdir"/usr/bin/ponyc
+
+ 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
+
+ install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/"$pkgname"/LICENSE
+}
More information about the arch-commits
mailing list