summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 652090d74a673e5dd9db3d85fcd716e9de493cf9 (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
29
30
31
# Maintainer: Jaco Malan <jacomalan.12@gmail.com>
pkgname=libclstl
pkgver=0.1.2
pkgrel=1
pkgdesc=""
arch=('any')
url="https://github.com/Code-Log/clstl"
license=('MIT')
depends=('clang')

prepare() {

    git clone https://github.com/Code-Log/clstl $srcdir
    mkdir -p $srcdir/build

}

build() {

    cd $srcdir/build
    cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=$(which clang) -DCMAKE_CXX_COMPILER=$(which clang++)
    make $MAKEFLAGS

}

package() {

    cd $srcdir/build
    make DESTDIR="$pkgdir" install

}