summaryrefslogtreecommitdiff
path: root/community/dbus-sharp-glib/PKGBUILD
blob: bd28aeede62f8f37c13964e9fa4dd95c1e14dbbc (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
# $Id: PKGBUILD 39552 2011-02-11 14:42:53Z heftig $
# Maintainer: Jan "heftig" Steffens <jan.steffens@gmail.com>
# Contributor: Alessio Biancalana <dottorblaster@gmail.com>

pkgname=dbus-sharp-glib
pkgver=0.5.0
pkgrel=3
pkgdesc="C# GLib implementation of D-Bus"
arch=('i686' 'x86_64')
url="http://github.com/mono/dbus-sharp/"
license=('custom')
depends=('dbus-sharp>=0.7')
makedepends=('pkgconfig')
options=(!makeflags)
source=(https://github.com/downloads/mono/dbus-sharp/${pkgname}-${pkgver}.tar.gz)
md5sums=('2284293316eb3a89f0f78798b8a24418')

build() {
  cd "$srcdir/$pkgname-$pkgver"

  export MONO_SHARED_DIR="${srcdir}/.wabi"
  mkdir -p "${MONO_SHARED_DIR}"

  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
  make
}

package(){
  cd "$srcdir/$pkgname-$pkgver"
  make DESTDIR="$pkgdir" install
  install -D COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
}