hasufell-repository/packages/dev-dotnet/msbuild/msbuild-15.6.exheres-0

40 lines
865 B
Bash

# Copyright 2018 Julian Ospald <hasufell@posteo.de>
# Distributed under the terms of the GNU General Public License v2
require github [ user=Microsoft tag=v${PV} ]
MY_PV="15.6+xamarinxplat.2018.01.17.14.14-0xamarin1+ubuntu1404b1"
SUMMARY="The Microsoft Build Engine (MSBuild) is the build platform for .NET and Visual Studio"
DOWNLOADS="http://download.mono-project.com/repo/ubuntu/pool/main/m/msbuild/msbuild_${MY_PV}_all.deb"
LICENCES="MIT"
SLOT="0"
PLATFORMS="~amd64 ~x86"
MYOPTIONS=""
DEPENDENCIES="
run:
dev-lang/mono
"
BUGS_TO="hasufell@posteo.de"
WORK=${WORKBASE}
# TODO: switch to source build once a new proper release exists
# https://github.com/Microsoft/msbuild/issues/3023
src_unpack() {
default
unpack ./data.tar.xz
}
src_install() {
insinto /usr/$(exhost --target)/lib
doins -r usr/lib/*
dobin usr/bin/*
}