# Maintainer: Jens Staal pkgname=qspec pkgver=v0.2.r121.gd1b04ad pkgrel=1 pkgdesc="A GUI testing library for Qt desktop applications" arch=('x86_64') provides=('qspec') url="http://ugene.unipro.ru/" license=('GPL') depends=('qt5-base' 'qt5-webkit' 'libxtst') makedepends=('git') source=('qspec::git+https://github.com/ugeneunipro/QSpec.git') sha256sums=('SKIP') build() { cd "${srcdir}"/qspec #make sure that the wanted branch is active git checkout master qmake CONFIG+=x64 PREFIX=/usr -r make } pkgver() { cd "${srcdir}"/qspec git describe --long --tags | sed 's/\([^-]*-g\)/r\1/; s/-/./g' } package() { cd "${srcdir}"/qspec make INSTALL_ROOT="$pkgdir/usr/lib" release-install }