summaryrefslogtreecommitdiff
path: root/extra/mono-zeroconf/PKGBUILD
blob: 6b0728b3f5719245933449840ddaca23cd3f2799 (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
# $Id: PKGBUILD 94562 2010-10-08 11:54:41Z ibiru $
# Maintainer: Hugo Doria <hugo@archlinux.org>

pkgname=mono-zeroconf
pkgver=0.9.0
pkgrel=2
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.6' '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 --disable-mdnsresponder
    make hicolordir=/usr/share/icons/hicolor
    make hicolordir=/usr/share/icons/hicolor \
    GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 \
        DESTDIR=${pkgdir} install
    rm -rf "${MONO_SHARED_DIR}"
}