PKGBUILDs/extra/ndesk-dbus/PKGBUILD
2009-10-09 21:23:22 -05:00

26 lines
833 B
Bash

# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
# Maintainer: Jan de Groot <jgc@archlinux.org>
# Contributor: tardo <tardo@nagi-fanboi.net>
pkgname=ndesk-dbus
pkgver=0.6.0
pkgrel=1
pkgdesc="C# implementation of D-Bus"
arch=('i686' 'x86_64')
url="http://www.ndesk.org/DBusSharp"
license=('custom')
depends=('mono')
makedepends=('pkgconfig')
options=(!makeflags)
source=(http://www.ndesk.org/archive/dbus-sharp/${pkgname}-${pkgver}.tar.gz)
md5sums=('5157ba105c9ac491f6e900bc78d1791f')
build() {
cd ${startdir}/src/${pkgname}-${pkgver}
export MONO_SHARED_DIR="${startdir}/src/.wabi"
mkdir -p "${MONO_SHARED_DIR}"
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
make || return 1
make DESTDIR=${startdir}/pkg install || return 1
install -D COPYING ${startdir}/pkg/usr/share/licenses/${pkgname}/COPYING
}