blob: fef384dfd7563e6200cc21e6edc7d4e45f6edbc4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
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
}
|