mirror of
https://github.com/BioArchLinux/Packages.git
synced 2025-03-10 12:02:42 +00:00
update qspec
This commit is contained in:
parent
6a311c1dab
commit
4993661eb9
3 changed files with 35 additions and 30 deletions
|
@ -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
|
||||
pkgver=v0.2.r121.gd1b04ad
|
||||
pkgrel=1
|
||||
pkgver=0.2
|
||||
pkgrel=2
|
||||
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')
|
||||
url='https://github.com/ugeneunipro/QSpec'
|
||||
license=('GPL2')
|
||||
depends=(
|
||||
libxtst
|
||||
qt5-webkit
|
||||
)
|
||||
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/ugeneunipro/QSpec/archive/refs/tags/v${pkgver}.tar.gz")
|
||||
sha256sums=('6f5d44c6b7b7db82ece5238d343fab44f36dc2d3d56afae51bd122acb352d7bd')
|
||||
|
||||
build() {
|
||||
cd "${srcdir}"/qspec
|
||||
#make sure that the wanted branch is active
|
||||
git checkout master
|
||||
qmake CONFIG+=x64 PREFIX=/usr -r
|
||||
cd "${_pkgname}-${pkgver}"
|
||||
qmake
|
||||
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
|
||||
cd "${_pkgname}-${pkgver}"
|
||||
make INSTALL_ROOT="${pkgdir}/usr/lib" install
|
||||
}
|
||||
|
||||
# vim:set ts=2 sw=2 et:
|
||||
|
||||
|
|
12
qspec/lilac.py
Normal file
12
qspec/lilac.py
Normal 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:
|
||||
|
|
@ -1,13 +1,9 @@
|
|||
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()
|
||||
build_prefix: extra-x86_64
|
||||
update_on:
|
||||
- source: github
|
||||
github: ugeneunipro/QSpec
|
||||
use_max_tag: true
|
||||
# vim:set ts=2 sw=2 et:
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue