mirror of
https://github.com/BioArchLinux/Packages.git
synced 2025-03-10 12:02:42 +00:00
33 lines
726 B
Bash
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
|
|
}
|
|
|
|
|