void-packages/srcpkgs/msbuild-bin/template

28 lines
833 B
Bash

# Template file for 'msbuild-bin'
_xamarin_name=msbuild
_xamarin_rel="xamarinxplat.2018.01.17.14.14-0xamarin2+ubuntu1404b1"
pkgname=${_xamarin_name}-bin
version=15.6
revision=1
noarch=yes
depends="mono"
build_style=fetch
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/${_xamarin_name}/${_xamarin_name}_${version}+${_xamarin_rel}_all.deb"
checksum=d5254973c3bf3d297bd1fb256d44f68bb4b28617c26f14018935e5962e40fc49
do_extract() {
ar x ${XBPS_SRCDISTDIR}/${pkgname}-${version}/${_xamarin_name}_${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
}