[arch-commits] Commit in libc++/trunk (PKGBUILD libc++.install)
Daniel Micay
thestinger at nymeria.archlinux.org
Mon Jul 15 01:35:53 UTC 2013
Date: Monday, July 15, 2013 @ 03:35:52
Author: thestinger
Revision: 94147
libc++: use libc++abi
Added:
libc++/trunk/libc++.install
Modified:
libc++/trunk/PKGBUILD
----------------+
PKGBUILD | 12 +++++++-----
libc++.install | 7 +++++++
2 files changed, 14 insertions(+), 5 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2013-07-15 01:03:50 UTC (rev 94146)
+++ PKGBUILD 2013-07-15 01:35:52 UTC (rev 94147)
@@ -1,16 +1,18 @@
# Maintainer: Daniel Micay <danielmicay at gmail.com>
# Contributor: MThinkCpp <mtc.maintainer[at]outlook.com>
-pkgname='libc++'
+pkgname=libc++
pkgver=3.3
-pkgrel=1
+pkgrel=2
pkgdesc='A new implementation of the C++ standard library, targeting C++11.'
url='http://libcxx.llvm.org'
license=('custom:University of Illinois/NCSA Open Source License')
arch=('i686' 'x86_64')
-depends=('glibc' 'gcc-libs') # gcc-libs for libsupc++ binary
-makedepends=('clang' 'subversion' 'cmake' 'gcc') # gcc provides libsupc++ headers
+# gcc-libs needed for libgcc_s, because Arch doesn't use a pure compiler-rt clang
+depends=('glibc' 'libc++abi' 'gcc-libs')
+makedepends=('clang' 'subversion' 'cmake')
source=("http://www.llvm.org/releases/${pkgver}/libcxx-${pkgver}.src.tar.gz")
-md5sums=('SKIP')
+md5sums=('59006e659ffb33f5222a7b79d4cd071e')
+install=${pkgname}.install
build() {
mkdir -p libcxx-${pkgver}.src/build
Added: libc++.install
===================================================================
--- libc++.install (rev 0)
+++ libc++.install 2013-07-15 01:35:52 UTC (rev 94147)
@@ -0,0 +1,7 @@
+post_install() {
+ echo compile with \`clang -std=c++11 -stdlib=libc++ -lc++abi\` to use libc++
+}
+
+post_upgrade() {
+ post_install
+}
More information about the arch-commits
mailing list