# $Id: PKGBUILD 219321 2014-08-05 09:53:28Z jgc $
# Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=libmediaart
pkgver=0.4.0
pkgrel=2
pkgdesc="Library tasked with managing, extracting and handling media art caches"
arch=('i686' 'x86_64')
license=('LGPL')
depends=('gdk-pixbuf2')
makedepends=('vala' 'gobject-introspection')
url="https://github.com/curlybeast/libmediaart"
source=(http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver:0:3}/$pkgname-$pkgver.tar.xz)
sha256sums=('e8ec92a642f4df7f988364f6451adf89e1611d7379a636d8c7eff4ca21a0fd1c')

build() {
  cd $pkgname-$pkgver
  ./configure --prefix=/usr --disable-static --enable-gdkpixbuf --disable-qt
  make
}

package() {
  cd $pkgname-$pkgver
  make DESTDIR="$pkgdir" install
}
