[arch-commits] Commit in libc++/trunk (PKGBUILD)

Daniel Micay thestinger at nymeria.archlinux.org
Thu Jun 19 21:41:15 UTC 2014


    Date: Thursday, June 19, 2014 @ 23:41:14
  Author: thestinger
Revision: 113364

upgpkg: libc++ 3.4.2-1

Modified:
  libc++/trunk/PKGBUILD

----------+
 PKGBUILD |   18 ++++++++++--------
 1 file changed, 10 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-06-19 21:25:46 UTC (rev 113363)
+++ PKGBUILD	2014-06-19 21:41:14 UTC (rev 113364)
@@ -1,7 +1,7 @@
 # Maintainer: Daniel Micay <danielmicay at gmail.com>
 # Contributor: MThinkCpp <mtc.maintainer[at]outlook.com>
 pkgname=libc++
-pkgver=3.4
+pkgver=3.4.2
 pkgrel=1
 pkgdesc='A new implementation of the C++ standard library, targeting C++11.'
 url='http://libcxx.llvm.org'
@@ -10,20 +10,22 @@
 # 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=('85c3c4e2233893b037256bf9f7077857')
+source=("http://www.llvm.org/releases/${pkgver}/libcxx-${pkgver}.src.tar.gz"
+        "http://www.llvm.org/releases/3.4.2/libcxx-${pkgver}.src.tar.gz.sig")
+md5sums=('da134c8bb4576e6168fb4872526bb8b3'
+         'SKIP')
 install=${pkgname}.install
 
 build() {
-  mkdir -p libcxx-${pkgver}/build
-  cd libcxx-${pkgver}/build
+  mkdir -p libcxx-${pkgver}.src/build
+  cd libcxx-${pkgver}.src/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}"
+    -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr "$srcdir/libcxx-${pkgver}.src"
   make
 }
 package() {
-  install -Dm644 libcxx-${pkgver}/LICENSE.TXT "$pkgdir/usr/share/licenses/$pkgname/license.txt"
-  cd libcxx-${pkgver}/build
+  install -Dm644 libcxx-${pkgver}.src/LICENSE.TXT "$pkgdir/usr/share/licenses/$pkgname/license.txt"
+  cd libcxx-${pkgver}.src/build
   make DESTDIR="$pkgdir" install
 }




More information about the arch-commits mailing list