# $Id: PKGBUILD 150829 2012-02-23 11:53:19Z ibiru $
# Maintainer : Ionut Biru <ibiru@archlinux.org>
# Contributor: György Balló <ballogy@freestart.hu>
pkgname=gdata-sharp
_pkgname=libgoogle-data-mono
pkgver=1.7.0.1
pkgrel=2
pkgdesc="Provide a simple protocol for reading and writing data on the web."
arch=('any')
url="http://code.google.com/p/google-gdata/"
license=('Apache')
depends=('mono')
source=(http://google-gdata.googlecode.com/files/$_pkgname-$pkgver.tar.gz)
sha1sums=('69a643151baacfd6366e62c5cc7542b4c914cd46')

build() {
  cd "$srcdir/$_pkgname-$pkgver"
  sed -i '/PREFIX=/ s|/usr/local|/usr|' ./Makefile

  make
}

package() {
  cd "$srcdir/$_pkgname-$pkgver"

  make DESTDIR="$pkgdir/" install
}
