void-packages/srcpkgs/msbuild-bin/template

26 lines
776 B
Bash

# Template file for 'msbuild-bin'
_xamarin_rel="xamarinxplat.2020.01.10.05.36-0xamarin1+ubuntu1804b1"
pkgname=msbuild-bin
version=16.5
revision=2
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=62744cee275e7c8ffb264a1588940228d39be7b30e8be98d91140a5efe199ec2
do_extract() {
ar x ${XBPS_SRCDISTDIR}/msbuild-bin-${version}/msbuild_${version}+${_xamarin_rel}_all.deb
bsdtar xf data.tar.xz
}
do_install() {
vbin usr/bin/msbuild
vcopy usr/lib usr
vlicense usr/share/doc/msbuild/copyright
}