updated on Sat Jan 21 04:00:54 UTC 2012
[aur-mirror.git] / clay-hg / PKGBUILD
blob223b9db70e1d7e5cae2784b41a46911c8617a79f
1 # Contributor: Jerome Berger <jeberger@free.fr>
3 # IMPORTANT: There is currently a bug in llvm-config which prevents this package from building properly.
4 # if you want to build this package, you will need to apply the provided patch to llvm-config.
5 pkgname=clay-hg
6 pkgver=2963
7 pkgrel=1
8 pkgdesc="Clay is a programming language designed for Generic Programming."
9 arch=(i686 x86_64)
10 url="http://tachyon.in/clay/"
11 license="BSD"
12 depends=('llvm')
13 makedepends=('mercurial' 'cmake')
14 options=('!libtool' '!emptydirs')
15 source=(llvm-config.patch)
16 md5sums=('60c8256765093fc49710caf50e0262cb')
18 _hgroot=http://bitbucket.org/kssreeram
19 _hgrepo=clay
21 build() {
22    cd $srcdir/$_hgrepo
24    rm -rf build
25    mkdir build
26    cd build
27    cmake -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX=/usr ../
28    make
31 package() {
32    cd $srcdir/$_hgrepo/build
33    make DESTDIR=$pkgdir install