add qspec

This commit is contained in:
starsareintherose 2021-08-23 15:15:30 +08:00
parent af3a5baae1
commit 515e5aee48
2 changed files with 46 additions and 0 deletions

33
qspec/PKGBUILD Normal file
View file

@ -0,0 +1,33 @@
# 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
}

13
qspec/lilac.yaml Normal file
View file

@ -0,0 +1,13 @@
build_prefix: extra-x86_64
maintainers:
- github: starsareintherose
email: starsareintherose@outlook.com
pre_build_script: |
update_pkgrel()
vcs_update()
post_build_script: |
git_pkgbuild_commit()
update_aur_repo()
update_on:
- source: github
github: ugeneunipro/QSpec