diff options
author | root <root@rshg054.dnsready.net> | 2013-07-19 01:10:32 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-07-19 01:10:32 -0700 |
commit | 8fbc0076a4827ddc6af92e0b9daa4c4c31450808 (patch) | |
tree | 03fd0e2921ebd53228d9a93e32ed3976b636cbea /community/apvlv/PKGBUILD | |
parent | e445a313723389ba9ee1fded025c567dae5b21ea (diff) |
Fri Jul 19 01:09:18 PDT 2013
Diffstat (limited to 'community/apvlv/PKGBUILD')
-rw-r--r-- | community/apvlv/PKGBUILD | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/community/apvlv/PKGBUILD b/community/apvlv/PKGBUILD new file mode 100644 index 000000000..065bf30fa --- /dev/null +++ b/community/apvlv/PKGBUILD @@ -0,0 +1,44 @@ +# $Id: PKGBUILD 88809 2013-04-22 20:09:44Z jsteel $ +# Maintainer: Jonathan Steel <jsteel@aur.archlinux.org> +# Contributor: Bartłomiej Piotrowski <nospam@bpiotrowski.pl> +# Contributor: 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.4.20121023 +pkgrel=3 +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' 'desktop-file-utils') +makedepends=('cmake' 'libwebkit') +install=$pkgname.install +source=(ftp://ftp.archlinux.org/other/community/$pkgname/$pkgname-$pkgver.tar.xz + $pkgname.desktop) +backup=(etc/apvlvrc) +md5sums=('f222fc4b09b15358eb4e7f996ba810d6' + '54478fecb54f36d1c44d8fdc233ddbac') + +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 + + install -Dm644 "$srcdir"/$pkgname.desktop \ + "$pkgdir"/usr/share/applications/$pkgname.desktop +} |