update qspec

This commit is contained in:
starsareintherose 2021-10-14 16:01:32 +01:00
parent 6a311c1dab
commit 4993661eb9
3 changed files with 35 additions and 30 deletions

View file

@ -1,33 +1,30 @@
# Maintainer: Jens Staal <staal1978@gmail.com> # Maintainer: Hu Butui <hot123tea123@gmail.com>
# Contributor: Jens Staal <staal1978@gmail.com>
_pkgname=QSpec
pkgname=qspec pkgname=qspec
pkgver=v0.2.r121.gd1b04ad pkgver=0.2
pkgrel=1 pkgrel=2
pkgdesc="A GUI testing library for Qt desktop applications" pkgdesc="A GUI testing library for Qt desktop applications"
arch=('x86_64') arch=('x86_64')
provides=('qspec') url='https://github.com/ugeneunipro/QSpec'
url="http://ugene.unipro.ru/" license=('GPL2')
license=('GPL') depends=(
depends=('qt5-base' 'qt5-webkit' 'libxtst') libxtst
makedepends=('git') qt5-webkit
source=('qspec::git+https://github.com/ugeneunipro/QSpec.git') )
sha256sums=('SKIP') source=("${pkgname}-${pkgver}.tar.gz::https://github.com/ugeneunipro/QSpec/archive/refs/tags/v${pkgver}.tar.gz")
sha256sums=('6f5d44c6b7b7db82ece5238d343fab44f36dc2d3d56afae51bd122acb352d7bd')
build() { build() {
cd "${srcdir}"/qspec cd "${_pkgname}-${pkgver}"
#make sure that the wanted branch is active qmake
git checkout master
qmake CONFIG+=x64 PREFIX=/usr -r
make make
} }
pkgver() {
cd "${srcdir}"/qspec
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/; s/-/./g'
}
package() { package() {
cd "${srcdir}"/qspec cd "${_pkgname}-${pkgver}"
make INSTALL_ROOT="$pkgdir/usr/lib" release-install make INSTALL_ROOT="${pkgdir}/usr/lib" install
} }
# vim:set ts=2 sw=2 et:

12
qspec/lilac.py Normal file
View file

@ -0,0 +1,12 @@
#!/usr/bin/env python3
from lilaclib import *
def pre_build():
update_pkgver_and_pkgrel(_G.newver.lstrip('v'))
def post_build():
git_pkgbuild_commit()
update_aur_repo()
# vim:set ts=2 sw=2 et:

View file

@ -1,13 +1,9 @@
build_prefix: extra-x86_64
maintainers: maintainers:
- github: starsareintherose - github: starsareintherose
email: starsareintherose@outlook.com build_prefix: extra-x86_64
pre_build_script: |
update_pkgrel()
vcs_update()
post_build_script: |
git_pkgbuild_commit()
update_aur_repo()
update_on: update_on:
- source: github - source: github
github: ugeneunipro/QSpec github: ugeneunipro/QSpec
use_max_tag: true
# vim:set ts=2 sw=2 et: