diff options
Diffstat (limited to 'extra/mono-tools')
-rw-r--r-- | extra/mono-tools/PKGBUILD | 28 | ||||
-rw-r--r-- | extra/mono-tools/mono-tools.install | 11 |
2 files changed, 18 insertions, 21 deletions
diff --git a/extra/mono-tools/PKGBUILD b/extra/mono-tools/PKGBUILD index fef384dfd..a7dc49bf1 100644 --- a/extra/mono-tools/PKGBUILD +++ b/extra/mono-tools/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 111524 2011-02-27 11:44:42Z daniel $ +# $Id: PKGBUILD 145315 2011-12-21 19:09:51Z daniel $ # Maintainer: Daniel Isenmann <daniel@archlinux.org> # Contributor: Brice Carpentier <brice@dlfp.org> @@ -11,28 +11,28 @@ pkgname=mono-tools pkgver=2.10 -pkgrel=1 +pkgrel=2 pkgdesc="collection of testing and development tools for use with mono (including monodoc browser)" arch=(i686 x86_64) license=('GPL') url="http://www.mono-project.com/" -depends=('mono>=2.10.1' 'desktop-file-utils' 'gnome-desktop-sharp>=2.26.0' 'gluezilla') -makedepends=('gecko-sharp-2.0>=0.13') +depends=('libgnome-sharp' 'gtkhtml-sharp') +makedepends=('gconf-sharp') install=$pkgname.install -source=(http://ftp.novell.com/pub/mono/sources/$pkgname/$pkgname-$pkgver.tar.bz2) +source=(http://download.mono-project.com/sources/$pkgname/$pkgname-$pkgver.tar.bz2) md5sums=('da178df2c119c696c08c09dc9eb01994') build() { # get rid of that .wapi errors; thanks to brice export MONO_SHARED_DIR="${startdir}/src/weird" mkdir -p "${MONO_SHARED_DIR}" - - cd ${startdir}/src/${pkgname}-${pkgver} - aclocal || return 1 - autoconf || return 1 - automake || return 1 - #sed -i 's:^Exec=.*$:Exec=/usr/bin/monodoc:' docbrowser/monodoc.desktop.in - ./configure --prefix=/usr || return 1 - make || return 1 - make GACUTIL="/usr/bin/gacutil /root ${startdir}/pkg/usr/lib" DESTDIR=${startdir}/pkg install || return 1 + cd "$srcdir/$pkgname-$pkgver" + autoreconf -fi + ./configure --prefix=/usr + make } + +package() { + cd "$srcdir/$pkgname-$pkgver" + make GACUTIL="/usr/bin/gacutil /root $pkgdir/usr/lib" DESTDIR="$pkgdir" install + } diff --git a/extra/mono-tools/mono-tools.install b/extra/mono-tools/mono-tools.install index 03f6f2f7e..d4891227b 100644 --- a/extra/mono-tools/mono-tools.install +++ b/extra/mono-tools/mono-tools.install @@ -1,9 +1,6 @@ post_install() { - # diable for a while maybe we can implement something in pacman to make it faster - #echo "creating index ... this could take a up to several minutes ..." - #monodoc --make-search-index > /dev/null 2>&1 - echo "update desktop mime database..." - update-desktop-database -q + echo "update icon cache..." + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor } @@ -23,8 +20,8 @@ post_remove() { echo "removing index..." rm -f /usr/lib/monodoc/monodoc.index rm -rf /usr/lib/monodoc/search_index - echo "update desktop mime database..." - update-desktop-database -q + echo "update icon cache..." + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor } # vim: ft=sh |