summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f153007361fc278e3d27ed0dd3bc53e632b4a509 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Maintainer: Jens Staal <staal1978@gmail.com>
pkgname=qspec-git
pkgver=v0.2.r121.gd1b04ad
pkgrel=1
pkgdesc="A GUI testing library for Qt desktop applications"
arch=('x86_64')
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
}