[arch-commits] Commit in gtk-sharp-2/trunk (PKGBUILD)

Jan de Groot jgc at archlinux.org
Mon Nov 7 07:48:45 EST 2011


    Date: Monday, November 7, 2011 @ 07:48:45
  Author: jgc
Revision: 142256

upgpkg: gtk-sharp-2 2.12.11-1

Update to 2.12.11

Modified:
  gtk-sharp-2/trunk/PKGBUILD

----------+
 PKGBUILD |   21 ++++++++++++---------
 1 file changed, 12 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-11-07 11:30:12 UTC (rev 142255)
+++ PKGBUILD	2011-11-07 12:48:45 UTC (rev 142256)
@@ -2,27 +2,30 @@
 # Maintainer: tobias <tobias at archlinux.org>
 
 pkgname=gtk-sharp-2
-pkgver=2.12.10
+pkgver=2.12.11
 pkgrel=1
 pkgdesc="gtk2 bindings for C#"
 arch=(i686 x86_64)
 license=('LGPL')
 url="http://gtk-sharp.sourceforge.net"
-depends=('mono>=2.4' 'libglade>=2.6.4' 'gtk2>=2.18.0')
+depends=('mono' 'libglade' 'gtk2')
 makedepends=('pkgconfig' 'monodoc')
 conflicts=('gtk#')
 options=('!libtool' '!makeflags')
-source=(http://ftp.gnome.org/pub/GNOME/sources/gtk-sharp/2.12/gtk-sharp-${pkgver}.tar.bz2)
-sha256sums=('aaa53f7916f25f0f83760b6ffbf0d465d13ecfa55aa645603f1ca876b7d0f770')
+source=(http://download.mono-project.com/sources/gtk-sharp212/gtk-sharp-${pkgver}.tar.bz2)
+md5sums=('c278da6a472c6c13b698af012f543c64')
 
 build() {
  # get rid of that .wapi errors; thanks to brice
-  export MONO_SHARED_DIR="${srcdir}/weird"
+  export MONO_SHARED_DIR="${srcdir}/wapi"
   mkdir -p "${MONO_SHARED_DIR}"
 
   cd "${srcdir}/gtk-sharp-${pkgver}"
-  ./configure --prefix=/usr --sysconfdir=/etc --disable-static || return 1
-  make || return 1
-  make GACUTIL="/usr/bin/gacutil /root ${pkgdir}/usr/lib" \
-     	 DESTDIR="${pkgdir}" install || return 1
+  ./configure --prefix=/usr --sysconfdir=/etc --disable-static
+  make
 }
+
+package() {
+  cd "${srcdir}/gtk-sharp-${pkgver}"
+  make DESTDIR="${pkgdir}" install
+}



More information about the arch-commits mailing list