# $Id: PKGBUILD 79519 2012-11-06 16:27:50Z bpiotrowski $ # Maintainer: Bartłomiej Piotrowski # Contributor: Brad Fanella # Contributor: Stefan Husmann # Contributor: tocer.deng pkgname=apvlv pkgver=0.1.4.20121023 pkgrel=1 pkgdesc='A PDF Viewer which behaves like Vim' arch=('i686' 'x86_64') url="http://naihe2010.github.com/apvlv/" license=('GPL') depends=('gtk2' 'cairo' 'poppler-glib' 'djvulibre') makedepends=('cmake' 'libwebkit') source=(ftp://ftp.archlinux.org/other/community/$pkgname/$pkgname-$pkgver.tar.xz) md5sums=('f222fc4b09b15358eb4e7f996ba810d6') build() { cd $srcdir/$pkgname-$pkgver mkdir -p build cd build cmake -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr \ -DAPVLV_WITH_UMD=no .. make } package() { cd $srcdir/$pkgname-$pkgver/build make DESTDIR=$pkgdir/ install }