void-packages/srcpkgs/msbuild-bin/template

26 lines
777 B
Bash

# Template file for 'msbuild-bin'
_xamarin_rel="xamarinxplat.2018.09.26.17.53-0xamarin3+ubuntu1804b1"
pkgname=msbuild-bin
version=16.0
revision=1
archs=noarch
build_style=fetch
depends="mono"
short_desc="Xamarin/Mono fork of the Microsoft Build system"
maintainer="Aloz1 <kno0001@gmail.com>"
license="MIT"
homepage="https://github.com/mono/msbuild"
distfiles="http://download.mono-project.com/repo/ubuntu/pool/main/m/msbuild/msbuild_${version}+${_xamarin_rel}_all.deb"
checksum=4f6d32a21dc78fd241fd7bfa1ece7a1b2c6e5a33ac3984a5d5fd29563fa01be6
do_extract() {
ar x ${XBPS_SRCDISTDIR}/msbuild-bin-${version}/msbuild_${version}+${_xamarin_rel}_all.deb
tar xf data.tar.xz
}
do_install() {
vbin usr/bin/msbuild
vcopy usr/lib usr/lib
vlicense usr/share/doc/msbuild/copyright
}