summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3fa49e6eb7f2df95c52edc3ea99755f68f55191d (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
# Maintainer: Michael Hansen <zrax0111 gmail com>

pkgname=libblocksruntime
pkgver=0.4.1
pkgrel=1
pkgdesc="compiler-rt Blocks runtime library for Clang"
arch=("i686" "x86_64")
url="https://compiler-rt.llvm.org"
license=("custom:University of Illinois" "MIT")
depends=("clang")
source=("http://http.debian.net/debian/pool/main/libb/${pkgname}/${pkgname}_${pkgver}.orig.tar.gz")
sha256sums=("7807e18d7d6cabd90f77c8b8a8ebd472516fa4ed6a02df82e0c33b1c5e112abc")

build() {
    cd "${srcdir}/${pkgname}-${pkgver}"

    ./configure --prefix=/usr
    make
}

check() {
    cd "${srcdir}/${pkgname}-${pkgver}"
    make check
}

package() {
    cd "${srcdir}/${pkgname}-${pkgver}"
    make install DESTDIR="${pkgdir}"
}