30 lines
993 B
Bash
30 lines
993 B
Bash
# Maintainer: Jesus E. <heckyel@riseup.net>
|
|
|
|
pkgname=pqiv
|
|
pkgver=2.12
|
|
pkgrel=2
|
|
pkgdesc="Powerful image viewer with minimal UI"
|
|
arch=('i686' 'x86_64')
|
|
url='https://github.com/phillipberndt/pqiv'
|
|
license=('GPL-3')
|
|
depends=('gtk' 'gdk-pixbuf2' 'glib2' 'cairo')
|
|
optdepends=('ffmpeg: rudimentary video support'
|
|
'libarchive: archives and cbX comic book support'
|
|
'libspectre: PS/EPS support'
|
|
'poppler-glib: rudimentary PDF support')
|
|
makedepends=('ffmpeg' 'libarchive' 'libspectre' 'poppler-glib')
|
|
source=("https://github.com/phillipberndt/pqiv/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz")
|
|
sha512sums=('f921d7949c9d229536188e9652cc687dcc55127875f329d0a64e6e2a55ea1a6827c0df6925685ae923ba1a000fbf2d2dc1dd825e67a12815a49b2cb703ea2e2f')
|
|
|
|
build() {
|
|
cd ${pkgname}-${pkgver}
|
|
./configure --backends-build=shared
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd ${pkgname}-${pkgver}
|
|
make DESTDIR="${pkgdir}" install
|
|
install -Dm644 LICENSE -t "${pkgdir}/usr/share/licenses/$pkgname"
|
|
}
|