summaryrefslogtreecommitdiff
path: root/aur/coreclr-git
diff options
context:
space:
mode:
authorYuval Adam <yuval@y3xz.com>2016-02-02 00:10:15 +0200
committerYuval Adam <yuval@y3xz.com>2016-02-02 00:10:15 +0200
commit94b4cc6452aa4686e30185c5f5e9db0ba9d472df (patch)
tree72e13ef796667032108704e990c0b8225f5704ea /aur/coreclr-git
parente180257cd7900387b6925d51b78aeccff2997247 (diff)
parentab386ced31e467ccd5cf9380b5d74c072a4a28ff (diff)
Add 'aur/coreclr-git/' from commit 'ab386ced31e467ccd5cf9380b5d74c072a4a28ff'
git-subtree-dir: aur/coreclr-git git-subtree-mainline: e180257cd7900387b6925d51b78aeccff2997247 git-subtree-split: ab386ced31e467ccd5cf9380b5d74c072a4a28ff
Diffstat (limited to 'aur/coreclr-git')
-rw-r--r--aur/coreclr-git/.SRCINFO22
-rw-r--r--aur/coreclr-git/PKGBUILD35
2 files changed, 57 insertions, 0 deletions
diff --git a/aur/coreclr-git/.SRCINFO b/aur/coreclr-git/.SRCINFO
new file mode 100644
index 0000000..b932123
--- /dev/null
+++ b/aur/coreclr-git/.SRCINFO
@@ -0,0 +1,22 @@
+pkgbase = coreclr-git
+ pkgdesc = The .NET Core Runtime
+ pkgver = 32b981a
+ pkgrel = 1
+ url = https://github.com/dotnet/coreclr
+ arch = x86_64
+ license = MIT
+ makedepends = git
+ makedepends = cmake
+ makedepends = clang35
+ makedepends = llvm35
+ depends = icu
+ depends = lldb
+ depends = libunwind
+ depends = lttng-ust
+ optdepends = mono: for building mscorlib.dll
+ provides = coreclr
+ source = git+https://github.com/dotnet/coreclr
+ sha1sums = SKIP
+
+pkgname = coreclr-git
+
diff --git a/aur/coreclr-git/PKGBUILD b/aur/coreclr-git/PKGBUILD
new file mode 100644
index 0000000..0dac5d7
--- /dev/null
+++ b/aur/coreclr-git/PKGBUILD
@@ -0,0 +1,35 @@
+# Maintainer: Yuval Adam <yuval at y3xz dot com> PGP-Key: 271386AA2EB7672F
+
+pkgname=coreclr-git
+pkgver=32b981a
+pkgrel=1
+pkgdesc="The .NET Core Runtime"
+arch=('x86_64')
+url="https://github.com/dotnet/coreclr"
+license=(MIT)
+depends=('icu' 'lldb' 'libunwind' 'lttng-ust')
+makedepends=('git' 'cmake' 'clang35' 'llvm35')
+optdepends=('mono: for building mscorlib.dll')
+provides=('coreclr')
+source=('git+https://github.com/dotnet/coreclr')
+sha1sums=('SKIP')
+_gitname=coreclr
+
+pkgver() {
+ cd $_gitname
+ echo $(git describe --always | sed 's/-/./g')
+}
+
+build() {
+ cd $_gitname
+ ./build.sh
+}
+
+package() {
+ install -Dm755 ${srcdir}/${_gitname}/bin/Product/Linux.x64.Debug/corerun ${pkgdir}/usr/bin/corerun
+ install -d ${pkgdir}/usr/{lib,include}
+ install ${srcdir}/${_gitname}/bin/Product/Linux.x64.Debug/*.so ${pkgdir}/usr/lib/
+ install ${srcdir}/${_gitname}/bin/Product/Linux.x64.Debug/inc/*.h ${pkgdir}/usr/include/
+}
+
+# vim:set ts=2 sw=2 et: