PKGBUILDs/extra/mono-zeroconf/PKGBUILD
2009-10-09 21:23:22 -05:00

29 lines
860 B
Bash

# $Id: PKGBUILD 39533 2009-05-18 20:57:59Z hugo $
# Maintainer: Hugo Doria <hugo@archlinux.org>
pkgname=mono-zeroconf
pkgver=0.9.0
pkgrel=1
pkgdesc="A cross platform Zero Configuration Networking library for Mono and .NET."
url="http://www.mono-project.com/Mono.Zeroconf"
license=('GPL')
arch=('i686' 'x86_64')
depends=('mono>=2.4' 'avahi')
options=('!makeflags')
source=(http://download.banshee-project.org/mono-zeroconf/${pkgname}-${pkgver}.tar.bz2)
md5sums=('cb25d50898442a7766c324dcb52ef9bf')
build() {
export MONO_SHARED_DIR=${srcdir}/.wabi
mkdir -p "${MONO_SHARED_DIR}"
cd ${srcdir}/${pkgname}-${pkgver}
./configure --prefix=/usr --disable-docs
make hicolordir=/usr/share/icons/hicolor || return 1
make hicolordir=/usr/share/icons/hicolor \
GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 \
DESTDIR=${pkgdir} install
rm -rf "${MONO_SHARED_DIR}"
}