PKGBUILDs/extra/ipod-sharp/PKGBUILD
2009-10-09 21:23:22 -05:00

26 lines
756 B
Bash

# $Id: PKGBUILD 43972 2009-06-30 13:16:08Z hugo $
# Maintainer: Hugo Doria <hugo@archlinux.org>
pkgname=ipod-sharp
pkgver=0.8.2
pkgrel=1
pkgdesc="C# bindings for libipoddevice"
arch=('i686' 'x86_64')
license=('GPL')
url="http://banshee-project.org/Ipod-sharp"
depends=('podsleuth' 'ndesk-dbus-glib' 'gtk-sharp-2')
options=(!makeflags)
source=(http://download.banshee-project.org/${pkgname}/${pkgname}-${pkgver}.tar.gz)
md5sums=('2a8cfd9792a55a49b14d25637e7cfeb5')
build() {
export MONO_SHARED_DIR=${startdir}/src/.wabi
mkdir -p "${MONO_SHARED_DIR}"
cd ${startdir}/src/${pkgname}-${pkgver}
./configure --prefix=/usr --disable-docs || return 1
make || return 1
make DESTDIR=${startdir}/pkg install || return 1
rm -fr "${MONO_SHARED_DIR}"
}