blob: 3c4b5ef2d1f9fdacd783c67eb8e7e90e285a8437 (
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
32
33
34
35
|
# Maintainer: Maarten de Vries <maarten@de-vri.es>
# Contributor: Maurice Box <m-ou.se@m-ou.se>
# Contributor: Maarten de Vries <maarten@de-vri.es>
pkgname=cloudabi-clang
pkgver=1
pkgrel=3
pkgdesc="Symlinks for the clang toolchain for CloudABI."
url='http://clang.llvm.org/'
arch=('any')
depends=(
'clang>=3.9'
'lld>=3.9'
)
replaces=(cloudabi-binutils)
conflicts=(cloudabi-binutils)
provides=(cloudabi-binutils)
license=(custom:LLVM)
_make_links() {
local arch="$1"
ln -s clang "$pkgdir/usr/bin/$arch-unknown-cloudabi-cc"
ln -s clang "$pkgdir/usr/bin/$arch-unknown-cloudabi-c++"
ln -s lld "$pkgdir/usr/bin/$arch-unknown-cloudabi-ld"
}
package() {
install -d "$pkgdir/usr/bin"
_make_links x86_64
_make_links i686
_make_links aarch64
_make_links armv6
}
|