blob: 9b230b2fbf3606951dd33f1083ddc10d5117da66 (
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
|
# Maintainer: Yuval Adam <yuval at y3xz dot com> PGP-Key: 271386AA2EB7672F
pkgname=coreclr-git
pkgver=39c5df9
pkgrel=1
pkgdesc="The .NET Core Runtime"
arch=('x86_64')
url="https://github.com/dotnet/coreclr"
license=(MIT)
makedepends=('clang' 'cmake' 'llvm' 'lldb' 'libunwind')
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:
|