diff options
Diffstat (limited to 'community/libc++/PKGBUILD')
-rw-r--r-- | community/libc++/PKGBUILD | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/community/libc++/PKGBUILD b/community/libc++/PKGBUILD index 6a4f8c0df..fc27155d1 100644 --- a/community/libc++/PKGBUILD +++ b/community/libc++/PKGBUILD @@ -1,8 +1,8 @@ # Maintainer: Daniel Micay <danielmicay@gmail.com> # Contributor: MThinkCpp <mtc.maintainer[at]outlook.com> pkgname=libc++ -pkgver=3.3 -pkgrel=3 +pkgver=3.4 +pkgrel=1 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') @@ -11,19 +11,19 @@ arch=('i686' 'x86_64') depends=('glibc' 'libc++abi' 'gcc-libs') makedepends=('clang' 'subversion' 'cmake') source=("http://www.llvm.org/releases/${pkgver}/libcxx-${pkgver}.src.tar.gz") -md5sums=('59006e659ffb33f5222a7b79d4cd071e') +md5sums=('85c3c4e2233893b037256bf9f7077857') install=${pkgname}.install build() { - mkdir -p libcxx-${pkgver}.src/build - cd libcxx-${pkgver}.src/build + mkdir -p libcxx-${pkgver}/build + cd libcxx-${pkgver}/build CC=clang CXX=clang++ cmake -G "Unix Makefiles" -DLIBCXX_CXX_ABI=libcxxabi \ -DLIBCXX_LIBCXXABI_INCLUDE_PATHS=/usr/include \ - -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr "$srcdir/libcxx-${pkgver}.src" + -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr "$srcdir/libcxx-${pkgver}" make } package() { - install -Dm644 libcxx-${pkgver}.src/LICENSE.TXT "$pkgdir/usr/share/licenses/$pkgname/license.txt" - cd libcxx-${pkgver}.src/build + install -Dm644 libcxx-${pkgver}/LICENSE.TXT "$pkgdir/usr/share/licenses/$pkgname/license.txt" + cd libcxx-${pkgver}/build make DESTDIR="$pkgdir" install } |