# Template file for 'phototonic'
pkgname=phototonic
version=1.6.0
revision=2
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://oferkv.github.io/phototonic/"
license="GPL-3"
short_desc="Lightweight image viewer and organizer for Qt5"
hostmakedepends="pkg-config"
makedepends="qt5-svg-devel exiv2-devel"
depends="qt5-imageformats"
distfiles="https://github.com/oferkv/${pkgname}/archive/v${version%.*}.tar.gz"
checksum=6ff8dc581f8203390c77202915e42807ac232e7d481b485c49d8f2152d5650b0
wrksrc="${pkgname}-${version%.*}"

do_configure() {
    qmake
}
do_build() {
    make ${makejobs}
}
do_install() {
    make INSTALL_ROOT=$DESTDIR install
}
