summaryrefslogtreecommitdiff
path: root/community/libc++abi/PKGBUILD
blob: 9d86d1cbcab98f6e4e9bed688d0ed87c534669e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Maintainer: Daniel Micay <danielmicay@gmail.com>
# Contributor: Benno Fünfstück <pyhaxor@googlemail.com>

pkgname=libc++abi
pkgver=3.2
pkgrel=1
pkgdesc='A new implementation of low level support for a standard C++ library'
arch=('i686' 'x86_64')
url="http://libcxxabi.llvm.org/"
license=('MIT' 'custom:University of Illinois/NCSA Open Source License')
makedepends=(subversion libunwind clang libc++)
source=(svn+https://llvm.org/svn/llvm-project/libcxxabi/branches/release_32)
md5sums=(SKIP)

build() {
  cd release_32/lib
  ./buildit
}

package() {
  cd release_32
  mkdir -p "$pkgdir/usr/include"
  install -Dm644 lib/libc++abi.so.1.0 "$pkgdir/usr/lib/libc++abi.so.1.0"
  ln -s /usr/lib/libc++abi.so.1.0 "$pkgdir/usr/lib/libc++abi.so.1"
  ln -s /usr/lib/libc++abi.so.1.0 "$pkgdir/usr/lib/libc++abi.so"
  install include/* "$pkgdir/usr/include"
  install -Dm644 LICENSE.TXT "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}