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

Andreas Radke andyrtr at nymeria.archlinux.org
Mon Feb 3 12:57:22 UTC 2014


    Date: Monday, February 3, 2014 @ 13:57:21
  Author: andyrtr
Revision: 205032

upgpkg: mono-debugger 2.10-3

fix build and source location; remove unneeded libtool file (FC does this too)

Modified:
  mono-debugger/trunk/PKGBUILD

----------+
 PKGBUILD |   22 +++++++++++++---------
 1 file changed, 13 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-02-03 10:47:55 UTC (rev 205031)
+++ PKGBUILD	2014-02-03 12:57:21 UTC (rev 205032)
@@ -2,27 +2,31 @@
 
 pkgname=mono-debugger
 pkgver=2.10
-pkgrel=2
+pkgrel=3
 pkgdesc="The Mono Debugger"
-arch=(i686 x86_64)
+arch=('i686' 'x86_64')
 license=('GPL')
 url="http://www.mono-project.com/"
 depends=('mono>=2.10.1')
-makedepends=('pkgconfig')
-source=(http://ftp.novell.com/pub/mono/sources/${pkgname}/${pkgname}-${pkgver}.tar.bz2)
+options=('!makeflags')
+source=(http://download.mono-project.com/sources/${pkgname}/${pkgname}-${pkgver}.tar.bz2)
 md5sums=('02ee485f2aae279f2fa3a7051c7d580e')
 
-build() {
+prepare() {
   # get rid of that .wapi errors; thanks to brice
   export MONO_SHARED_DIR=${srcdir}/weird
   mkdir -p "${MONO_SHARED_DIR}"
-  # build mono debugger
-  cd ${srcdir}/${pkgname}-${pkgver}
+  
+  rm -rf build/*.dll
+}
+
+build() {
+  cd ${pkgname}-${pkgver}
   ./configure --prefix=/usr
-  make || return 1
+  make
 }
 
 package() {
-  cd ${srcdir}/${pkgname}-${pkgver}
+  cd ${pkgname}-${pkgver}
   make DESTDIR=${pkgdir} install
 }




More information about the arch-commits mailing list