blob: b554c403ce2bb444ddbcca2e4fe90ba6b9151b3d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# $Id: PKGBUILD 55080 2011-09-02 08:40:53Z andrea $
# Maintainer: Brad Fanella <bradfanella@archlinux.us>
# Contributor: Stefan Husmann <stefan-husmann@t-online.de>
# Contributor: tocer.deng <tocer.deng@gmail.com>
pkgname=apvlv
pkgver=0.1.2
pkgrel=1
pkgdesc="A PDF Viewer which behaves like Vim"
arch=('i686' 'x86_64' 'mips64el')
url="http://naihe2010.github.com/apvlv/"
license=('GPL')
depends=('poppler-glib' 'djvulibre')
source=(https://github.com/downloads/naihe2010/$pkgname/$pkgname-${pkgver}-Source.tar.gz apvlv-poppler015.patch)
md5sums=('381d83aa9c253fac5e0be165fca39222'
'308b17a563ed470ea47d408f324ab745')
makedepends=('cmake')
build() {
cd $srcdir/$pkgname-$pkgver-Source
patch -Np1 -i $srcdir/apvlv-poppler015.patch
mkdir -p build
cd build
cmake -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DAPVLV_WITH_UMD=no ..
make
}
package() {
cd $srcdir/$pkgname-$pkgver-Source/build
make DESTDIR=$pkgdir install
}
|