Packages/qspec/PKGBUILD
starsareintherose 515e5aee48 add qspec
2021-08-23 15:15:30 +08:00

33 lines
726 B
Bash

# Maintainer: Jens Staal <staal1978@gmail.com>
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
}