archrelease: copy trunk to community-any
[ArchLinux/community.git] / pqiv / trunk / PKGBUILD
blob99889a1f3a9a85442822fc82d1d9775202cf757a
1 # Maintainer: Bruno Pagani <archange@archlinux.org>
2 # Maintainer: Caleb Maclennan <caleb@alerque.com>
4 pkgname=pqiv
5 pkgver=2.12
6 pkgrel=6
7 pkgdesc='Powerful image viewer with minimal UI'
8 arch=(x86_64)
9 url="https://github.com/phillipberndt/pqiv"
10 license=(GPL3)
11 depends=(gtk3 gdk-pixbuf2 glib2 cairo)
12 optdepends=(
13     'ffmpeg: rudimentary video support'
14     'libarchive: archives and cbX comic book support'
15     'libspectre: PS/EPS support'
16     'libwebp: WebP support'
17     'imagemagick: support for various images formats like PSD'
18     'poppler-glib: rudimentary PDF support'
20 makedepends=(ffmpeg libarchive libspectre libwebp imagemagick poppler-glib)
21 source=(${url}/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz)
22 sha256sums=('1538128c88a70bbad2b83fbde327d83e4df9512a2fb560eaf5eaf1d8df99dbe5')
24 build() {
25   cd ${pkgname}-${pkgver}
26   ./configure --backends-build=shared
27   make
30 package() {
31   cd ${pkgname}-${pkgver}
32   make DESTDIR="${pkgdir}" install