mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-07 23:24:05 +00:00
25 lines
705 B
Bash
25 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
|
||
|
}
|