# $Id: PKGBUILD 204536 2014-01-22 11:40:28Z bpiotrowski $
# Maintainer:  Bartłomiej Piotrowski <bpiotrowski@archlinux.org>
# Contributor: Yue

pkgname=libetonyek
pkgver=0.0.3
pkgrel=1
pkgdesc='Library and a set of tools for reading and converting Apple Keynote presentations'
arch=('i686' 'x86_64')
url='http://www.freedesktop.org/wiki/Software/libetonyek/'
license=('MPL')
depends=('libxml2' 'gperf' 'zlib' 'libwpd' 'boost-libs')
makedepends=('boost' 'cppunit')
source=(http://dev-www.libreoffice.org/src/$pkgname-$pkgver.tar.xz)
md5sums=('6deb26eb088acd8938b9bec800cfb59e')

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

check() {
  cd $pkgname-$pkgver
  make check
}

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