[arch-commits] Commit in mono-addins/trunk (PKGBUILD)

Bartłomiej Piotrowski bpiotrowski at archlinux.org
Mon Dec 18 20:59:42 UTC 2017


    Date: Monday, December 18, 2017 @ 20:59:41
  Author: bpiotrowski
Revision: 313310

1.3.3-1: new upstream release

Modified:
  mono-addins/trunk/PKGBUILD

----------+
 PKGBUILD |   35 ++++++++++++++++++++---------------
 1 file changed, 20 insertions(+), 15 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-12-18 18:45:38 UTC (rev 313309)
+++ PKGBUILD	2017-12-18 20:59:41 UTC (rev 313310)
@@ -3,30 +3,35 @@
 # Contributor: tardo <tardo at nagi-fanboi.net>
 
 pkgname=mono-addins
-pkgver=1.1
+pkgver=1.3.3
 pkgrel=1
 pkgdesc="A generic framework for creating extensible applications and for creating libraries which extend those applications"
 arch=('x86_64')
 url="http://www.mono-project.com/Mono.Addins"
-license=('custom:MIT')
-depends=('gtk-sharp-2>=2.12.8' 'mono>=3.4.0')
-makedepends=('pkgconfig')
-source=(https://github.com/mono/mono-addins/archive/${pkgname}-${pkgver}.tar.gz)
-md5sums=('bbacbb5243b00ea7e12b7fd9b4d0b6f5')
+license=('MIT')
+depends=('gtk-sharp-2' 'gtk-sharp-3' 'mono')
+source=(https://github.com/mono/mono-addins/archive/${pkgname}-${pkgver}.tar.gz
+        https://github.com/Microsoft/msbuild/releases/download/mono-hosted-msbuild-v0.03/mono_msbuild_d25dd923839404bd64cc63f420e75acf96fc75c4.zip)
+md5sums=('7ac27ffa4616fd03dc299749f16bce2a'
+         '14345c2f2dc53aa902a89419e234d2d4')
 
 build() {
-  export MONO_SHARED_DIR="${srcdir}/.wabi"
-  mkdir -p "${MONO_SHARED_DIR}"
-  
-  cd ${srcdir}/${pkgname}-${pkgname}-${pkgver}
-  ./autogen.sh
-  ./configure --prefix=/usr --enable-gui
+  local msbuild="$srcdir/msbuild/MSBuild.exe"
+
+  cd ${pkgname}-${pkgname}-${pkgver}
+  ./autogen.sh --prefix=/usr --enable-gui
   make
+
+  mono "$msbuild" Mono.Addins/Mono.Addins.csproj /p:WarningLevel=0;Configuration=Release
+  mono "$msbuild" Mono.Addins.CecilReflector/Mono.Addins.CecilReflector.csproj /p:WarningLevel=0;Configuration=Release
+  mono "$msbuild" Mono.Addins.Gui/Mono.Addins.Gui.csproj /p:WarningLevel=0;Configuration=Release
+  mono "$msbuild" Mono.Addins.GuiGtk3/Mono.Addins.GuiGtk3.csproj /p:WarningLevel=0;Configuration=Release
+  mono "$msbuild" Mono.Addins.MSBuild/Mono.Addins.MSBuild.csproj /p:WarningLevel=0;Configuration=Release
+  mono "$msbuild" Mono.Addins.Setup/Mono.Addins.Setup.csproj /p:WarningLevel=0;Configuration=Release
 } 
 
 package() {
-  cd ${srcdir}/${pkgname}-${pkgname}-${pkgver}
-  make GACUTIL="/usr/bin/gacutil -root ${pkgdir}/usr/lib"  DESTDIR=${pkgdir} install
-
+  cd ${pkgname}-${pkgname}-${pkgver}
+  make DESTDIR=$pkgdir install
   install -Dm644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/COPYING
 }



More information about the arch-commits mailing list