# $Id: PKGBUILD 156903 2012-04-23 09:08:43Z ibiru $
# Maintainer: Ionut Biru <ibiru@archlinux.org>

pkgname=libgxps
pkgver=0.2.2
pkgrel=1
pkgdesc="XPS Documents library"
arch=(i686 x86_64)
url="https://live.gnome.org/libgxps"
license=('GPL2')
depends=('cairo' 'libarchive' 'libjpeg-turbo' 'libtiff' 'lcms2')
options=(!libtool)
source=(http://download.gnome.org/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz)
sha256sums=('39d104739bf0db43905c315de1d8002460f1a098576f4418f69294013a5820be')

build() {
  cd "$pkgname-$pkgver"
  ./configure --prefix=/usr \
    --disable-static
  make
}

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

# vim:set ts=2 sw=2 et:
