PKGBUILDs/community/apvlv/PKGBUILD
2009-10-09 21:15:33 -05:00

24 lines
705 B
Bash

# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
# Contributor: tocer.deng <tocer.deng@gmail.com>
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
}