1 # Maintainer: Alexander Rødseth <rodseth@gmail.com>
5 pkgdesc="An interactive C console"
7 url="http://code.google.com/p/ccons/"
10 source=("http://llvm.org/releases/$_llvm/llvm-$_llvm.tgz"
11 "http://ccons.googlecode.com/files/${pkgname}_r$pkgver.tar.gz")
14 md5sums=('793138412d2af2c7c7f54615f8943771'
15 '12792427ed57228fccee454fbb2e9ed6')
18 cp -ur "$srcdir/$pkgname" "$srcdir/llvm-$_llvm/tools"
19 cd "$srcdir/llvm-$_llvm/tools/$pkgname"
20 sed -i 's/ -march=${LLVM_HOST_ARCH}//' CMakeLists.txt
21 cp /usr/include/llvm/Support/DataTypes.h ../../include/llvm/System
23 CXX=clang++ CC=clang make
27 cd "$srcdir/llvm-$_llvm/tools/$pkgname"
29 # install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
32 # vim:set ts=2 sw=2 et: