[arch-commits] Commit in ponyc/repos/community-x86_64 (PKGBUILD PKGBUILD)
Felix Yan
fyan at archlinux.org
Fri Mar 4 08:34:58 UTC 2016
Date: Friday, March 4, 2016 @ 09:34:58
Author: fyan
Revision: 164645
archrelease: copy trunk to community-x86_64
Added:
ponyc/repos/community-x86_64/PKGBUILD
(from rev 164644, ponyc/trunk/PKGBUILD)
Deleted:
ponyc/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 118 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 59 insertions(+), 59 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2016-03-04 08:34:41 UTC (rev 164644)
+++ PKGBUILD 2016-03-04 08:34:58 UTC (rev 164645)
@@ -1,59 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=ponyc
-pkgver=0.2.1.20151028
-_commit=57461c42c306319128608b02b10997c1b0827803
-pkgrel=2
-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' 'git')
-checkdepends=('pcre2')
-options=('!strip')
-optdepends=('pcre2: Needed for the regex package.')
-source=("git+https://github.com/CausalityLtd/ponyc.git#commit=$_commit")
-sha512sums=('SKIP')
-
-build() {
- cd ponyc
- make config=release prefix=/usr arch=x86-64
-
- mkdir docs
- build/release/ponyc packages/stdlib -rexpr -g -o docs
-}
-
-check() {
- cd ponyc
- make config=release prefix=/usr arch=x86-64 test
-}
-
-package() {
- cd ponyc
- # 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.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 164644, ponyc/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2016-03-04 08:34:58 UTC (rev 164645)
@@ -0,0 +1,59 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=ponyc
+pkgver=0.2.1.20160211
+_commit=1ff3d90b251ab07593ea022ff34c182bb0e82bf3
+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' 'git')
+checkdepends=('pcre2')
+options=('!strip')
+optdepends=('pcre2: Needed for the regex package.')
+source=("git+https://github.com/CausalityLtd/ponyc.git#commit=$_commit")
+sha512sums=('SKIP')
+
+build() {
+ cd ponyc
+ make config=release prefix=/usr arch=x86-64
+
+ mkdir docs
+ build/release/ponyc packages/stdlib -rexpr -g -o docs
+}
+
+check() {
+ cd ponyc
+ make config=release prefix=/usr arch=x86-64 test
+}
+
+package() {
+ cd ponyc
+ # 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.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