summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO13
-rw-r--r--PKGBUILD22
2 files changed, 35 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..29bd13526d1
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,13 @@
+# Generated by mksrcinfo v8
+# Thu Mar 10 16:44:26 UTC 2016
+pkgbase = cloudabi-clang
+ pkgdesc = Symlinks for the clang toolchain for CloudABI.
+ pkgver = 1
+ pkgrel = 1
+ url = http://clang.llvm.org/
+ arch = any
+ license = custom:LLVM
+ depends = clang>=3.7
+
+pkgname = cloudabi-clang
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..2f6dff7c221
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,22 @@
+# 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=1
+pkgdesc="Symlinks for the clang toolchain for CloudABI."
+url='http://clang.llvm.org/'
+arch=('any')
+depends=(
+ 'clang>=3.7'
+)
+license=(custom:LLVM)
+
+package() {
+ install -d "$pkgdir/usr/bin"
+ ln -s clang "$pkgdir/usr/bin/x86_64-unknown-cloudabi-cc"
+ ln -s clang "$pkgdir/usr/bin/x86_64-unknown-cloudabi-c++"
+ ln -s clang "$pkgdir/usr/bin/aarch64-unknown-cloudabi-cc"
+ ln -s clang "$pkgdir/usr/bin/aarch64-unknown-cloudabi-c++"
+}