mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
38 lines
1.5 KiB
Bash
38 lines
1.5 KiB
Bash
# $Id: PKGBUILD 45014 2009-07-06 16:55:18Z 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.4.2
|
|
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.4.2' 'desktop-file-utils' 'gnome-desktop-sharp>=2.26.0')
|
|
makedepends=('gecko-sharp-2.0>=0.13')
|
|
install=$pkgname.install
|
|
source=(http://ftp.novell.com/pub/mono/sources/$pkgname/$pkgname-$pkgver.tar.bz2)
|
|
md5sums=('dc96a311a8fed1a3807fed92a99b6cf8')
|
|
|
|
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
|
|
}
|