upgpkg: ufw 0.36.2-1
[ArchLinux/community.git] / vimiv / trunk / PKGBUILD
blob0055fc2470e5b8df9951f923d4067db8576f832a
1 # Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
2 # Contributor: Christian Karl <christian dot karl at protonmail dot com>
4 pkgname=vimiv
5 pkgver=0.9.1
6 pkgrel=6
7 pkgdesc='Image viewer with vim-like keybindings'
8 url='https://github.com/karlch/vimiv'
9 arch=('x86_64')
10 license=('MIT')
11 depends=('python' 'python-gobject' 'gtk3' 'python-pillow' 'glibc')
12 makedepends=('python-setuptools' 'libgexiv2')
13 optdepends=('libgexiv2: autorotation and EXIF support')
14 backup=('etc/vimiv/vimivrc'
15         'etc/vimiv/keys.conf')
16 source=(${pkgname}-${pkgver}.tar.gz::https://github.com/karlch/vimiv/archive/v${pkgver}.tar.gz)
17 sha256sums=('7196341c41ad372f4d5d98bc96fba4aa55ad6e78d93afd617a62866bdaa6c087')
18 sha512sums=('b500e5b54450238b6471c1ea0c0831dc6b16238a99b9fcb531bc93bd0aa0b92fa192cbf2dd29f1679856f840dd6f6e4d27971403c85b71b6f333c525b77d9e69')
20 build() {
21   cd ${pkgname}-${pkgver}
22   python setup.py build
25 package() {
26   cd ${pkgname}-${pkgver}
27   make DESTDIR="${pkgdir}" install
28   install -Dm 644 readme.md -t "${pkgdir}/usr/share/doc/${pkgname}"
31 # vim: ts=2 sw=2 et: