1 # Maintainer: Jan "heftig" Steffens <jan.steffens@gmail.com>
2 # Contributor: Alessio Biancalana <dottorblaster@gmail.com>
7 pkgdesc="C# implementation of D-Bus"
9 url="https://github.com/mono/dbus-sharp/"
13 source=(https://github.com/mono/$pkgname/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz
14 https://github.com/Microsoft/msbuild/releases/download/mono-hosted-msbuild-v0.03/mono_msbuild_d25dd923839404bd64cc63f420e75acf96fc75c4.zip)
15 sha256sums=('0866c001f2d6e01a6f1b4d080db08d25ba1422e34c7d03020e0e70f3de3a9859'
16 '9e992cb8e5526024eeae1cd9dea7f32c0158c2c8d94c9a7a310a146f14eef417')
19 cd "$srcdir/$pkgname-$pkgver"
20 sed -e 's/gmcs/mcs/g' -i configure
24 local msbuild="$srcdir/msbuild/MSBuild.exe"
26 cd "$srcdir/$pkgname-$pkgver"
27 ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
29 mono $msbuild src/dbus-sharp.csproj /p:WarningLevel=0;Configuration=Release
33 cd "$srcdir/$pkgname-$pkgver"
34 make DESTDIR="$pkgdir" install
35 install -D COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"