Date: Thursday, May 31, 2018 @ 08:53:55 Author: jgc Revision: 325429 archrelease: copy trunk to extra-any
Added: dbus-sharp/repos/extra-any/PKGBUILD (from rev 325428, dbus-sharp/trunk/PKGBUILD) Deleted: dbus-sharp/repos/extra-any/PKGBUILD ----------+ PKGBUILD | 68 +++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 37 insertions(+), 31 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2018-05-31 08:53:51 UTC (rev 325428) +++ PKGBUILD 2018-05-31 08:53:55 UTC (rev 325429) @@ -1,31 +0,0 @@ -# $Id$ -# Maintainer: Jan "heftig" Steffens <jan.steff...@gmail.com> -# Contributor: Alessio Biancalana <dottorblas...@gmail.com> - -pkgname=dbus-sharp -pkgver=0.8.1 -pkgrel=1 -pkgdesc="C# implementation of D-Bus" -arch=('any') -url="http://github.com/mono/dbus-sharp/" -license=('custom') -depends=('mono') -options=(!makeflags) -source=(https://github.com/mono/$pkgname/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz) -md5sums=('bb94ab3d9703342a2e936e52c87c783a') - -build() { - cd "$srcdir/$pkgname-$pkgver" - - export MONO_SHARED_DIR="$srcdir/.wabi" - mkdir -p "$MONO_SHARED_DIR" - - ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var - make -} - -package(){ - cd "$srcdir/$pkgname-$pkgver" - make DESTDIR="$pkgdir" install - install -D COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING" -} Copied: dbus-sharp/repos/extra-any/PKGBUILD (from rev 325428, dbus-sharp/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2018-05-31 08:53:55 UTC (rev 325429) @@ -0,0 +1,37 @@ +# $Id$ +# Maintainer: Jan "heftig" Steffens <jan.steff...@gmail.com> +# Contributor: Alessio Biancalana <dottorblas...@gmail.com> + +pkgname=dbus-sharp +pkgver=0.8.1 +pkgrel=2 +pkgdesc="C# implementation of D-Bus" +arch=('any') +url="https://github.com/mono/dbus-sharp/" +license=('custom') +depends=('mono') +options=(!makeflags) +source=(https://github.com/mono/$pkgname/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz + https://github.com/Microsoft/msbuild/releases/download/mono-hosted-msbuild-v0.03/mono_msbuild_d25dd923839404bd64cc63f420e75acf96fc75c4.zip) +sha256sums=('0866c001f2d6e01a6f1b4d080db08d25ba1422e34c7d03020e0e70f3de3a9859' + '9e992cb8e5526024eeae1cd9dea7f32c0158c2c8d94c9a7a310a146f14eef417') + +prepare() { + cd "$srcdir/$pkgname-$pkgver" + sed -e 's/gmcs/mcs/g' -i configure +} + +build() { + local msbuild="$srcdir/msbuild/MSBuild.exe" + + cd "$srcdir/$pkgname-$pkgver" + ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var + make + mono $msbuild src/dbus-sharp.csproj /p:WarningLevel=0;Configuration=Release +} + +package(){ + cd "$srcdir/$pkgname-$pkgver" + make DESTDIR="$pkgdir" install + install -D COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING" +}