diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
commit | 415856bdd4f48ab4f2732996f0bae58595092bbe (patch) | |
tree | ede2018b591f6dfb477fe9341ba17b9bc000fab9 /extra/mono-tools/PKGBUILD |
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'extra/mono-tools/PKGBUILD')
-rw-r--r-- | extra/mono-tools/PKGBUILD | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/extra/mono-tools/PKGBUILD b/extra/mono-tools/PKGBUILD new file mode 100644 index 000000000..fef384dfd --- /dev/null +++ b/extra/mono-tools/PKGBUILD @@ -0,0 +1,38 @@ +# $Id: PKGBUILD 111524 2011-02-27 11:44:42Z daniel $ +# Maintainer: Daniel Isenmann <daniel@archlinux.org> +# Contributor: Brice Carpentier <brice@dlfp.org> + +# The mono-tool package now calls make-search-index by post_install(). +# Whenever a package is installed which places doc-sources into: +# /usr/lib/monodoc/sources it should call --make-search-index with +# post_install() and with post remove. mond-tools itself deletes the index +# file pre_remove(), so pacman finds the directory empty an removes it +# properly. + +pkgname=mono-tools +pkgver=2.10 +pkgrel=1 +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') +install=$pkgname.install +source=(http://ftp.novell.com/pub/mono/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 +} |