# Contributor: David Demelier <markand@malikania.fr>
# Maintainer: David Demelier <markand@malikania.fr>
pkgname=vimiv-qt
pkgver=0.9.0
pkgrel=1
pkgdesc="an image viewer with vim-like keybindings"
url="https://github.com/karlch/vimiv-qt"
arch="all !armhf" # armhf blocked by py3-qt5 (qt5-qtdeclarative)
license="GPL-3.0-only"
depends="python3 py3-qt5"
makedepends="python3-dev py3-setuptools"
subpackages="$pkgname-doc $pkgname-pyc"
source="$pkgname-$pkgver.tar.gz::https://github.com/karlch/vimiv-qt/archive/v$pkgver.tar.gz"
options="!check" # Not working yet.

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

package() {
	make -f misc/Makefile DESTDIR="$pkgdir" install
}

sha512sums="
bf8207da1d84a6a47dda04ff06303d553a866e413521057e0c5ba0492a705abe9c941367e8977621ba695f4f8fcf7f2461f53feb4456842973977b8e07d4dd56  vimiv-qt-0.9.0.tar.gz
"
