# $Id: PKGBUILD 164367 2012-07-31 19:43:09Z eric $ # Maintainer: Daniel Isenmann # Contributor: William Rea pkgname=libgpod pkgver=0.8.2 pkgrel=6.1 pkgdesc="A shared library to access the contents of an iPod" arch=(i686 x86_64 'mips64el') license=('LGPL') depends=('gdk-pixbuf2' 'mutagen' 'sg3_utils' 'libimobiledevice' 'libplist') makedepends=('intltool' 'swig' 'docbook-xsl' 'pygobject2-devel') optdepends=('python2-gobject2: python bindings') if [ "$CARCH" != "mips64el" ]; then makedepends+=('gtk-sharp-2') optdepends+=('gtk-sharp-2: Mono bindings') fi url="http://www.gtkpod.org/libgpod/" source=(http://downloads.sourceforge.net/sourceforge/gtkpod/${pkgname}-${pkgver}.tar.bz2) options=('!libtool' '!emptydirs') md5sums=('ff0fd875fa08f2a6a49dec57ce3367ab') build() { cd "${srcdir}/${pkgname}-${pkgver}" ./configure --prefix=/usr --with-udev-dir=/usr/lib/udev \ --enable-udev --with-python=/usr/bin/python2 make PREFIX=/usr } package() { cd "${srcdir}/${pkgname}-${pkgver}" make PREFIX=/usr DESTDIR="${pkgdir}" install }