# Maintainer: Stefan Husmann # Contributor: tocer.deng pkgname=apvlv pkgver=0.0.7.4 pkgrel=1 pkgdesc="A PDF Viewer which behaves like Vim" arch=('i686' 'x86_64') url="http://code.google.com/p/apvlv/" license=('GPL') depends=('poppler-glib') source=(http://apvlv.googlecode.com/files/$pkgname-${pkgver}.tar.gz) md5sums=('db42bfdc9dcbc747f759b342cb37f84c') build() { cd $srcdir/$pkgname-$pkgver ./configure --prefix=/usr --with-sysconfdir=$pkgdir/etc || return 1 sed -i 's+mandir = /usr/man+mandir = /usr/share/man+g' Makefile || return 1 make || return 1 } package() { cd $srcdir/$pkgname-$pkgver make DESTDIR=$pkgdir install || return 1 }