#Maintainer: Frederic Boulet bipbiponlinux~AT~gmail.com pkgname=libgoogle-data-mono pkgver=1.6.0.0 zenver=66 pkgrel=1 arch=i486 source=("http://google-gdata.googlecode.com/files/libgoogle-data-mono-$pkgver.tar.gz") sourcetemplate=http://zenwalk.pinguix.com/user-accounts/bip/EXTRA/l/$pkgname docs=("license*" "gzip*") url=http://code.google.com/p/google-gdata/ options=('norequiredbuilder' 'keepdepfile') extradepends=("mono") slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "libgoogle-data-mono (.NET library for the Google Data API)" "The Google Data APIs (GData) provide a simple protocol for reading" "and writing data on the web." ) build() { cd $startdir/src/$pkgname-$pkgver # Fix typo in the pkconfig gdata-sharp-core.pc sed -i -e "s|-r${libdir}/mono/GData-Sharp/Google.GData.Extensions.dll|-r:${libdir}/mono/GData-Sharp/Google.GData.Extensions.dll|g" $startdir/src/$pkgname-$pkgver/misc/gdata-sharp-core.pc.in # Need to create a symbolic link /usr/lib/pkgconfig/mono-nunit.pc -> /usr/lib/pkgconfig/nunit.pc make || return 1 make install DESTDIR=$startdir/pkg }