# $Id: PKGBUILD 150838 2012-02-23 12:25:36Z ibiru $
# Maintainer: Ionut Biru <ibiru@archlinux.org>
# Contributor: György Balló <ballogy@freestart.hu>
pkgname=gudev-sharp
pkgver=0.1
_pkgver=GUDEV_SHARP_0_1-0-g2c53e2f
_git=cd3e7df
pkgrel=2
pkgdesc="Gudev mono bindings"
arch=('any')
url="http://github.com/mono/gudev-sharp"
license=('LGPL')
depends=('gtk-sharp-2')
source=(mono-$pkgname-$_pkgver.tar.gz::https://github.com/mono/gudev-sharp/zipball/GUDEV_SHARP_0_1)
md5sums=('05d059577913ca1d10ab952303951614')

build() {
  cd "$srcdir/mono-$pkgname-$_git"

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

package() {
  cd "$srcdir/mono-$pkgname-$_git"

  make DESTDIR="$pkgdir/" install
}
