diff options
author | Jaroslav Lichtblau | 2014-12-19 14:22:52 +0100 |
---|---|---|
committer | Jaroslav Lichtblau | 2014-12-19 14:22:52 +0100 |
commit | a2755b89590a2a16526a6790fb8b7a5f7f7a698f (patch) | |
tree | 5205dacea1ed579a80393d04139e168106e63507 | |
parent | a6d2bee847732e5bab29345896c607f0825f3011 (diff) | |
download | aur-a2755b89590a2a16526a6790fb8b7a5f7f7a698f.tar.gz |
datovka-git-4.0.2-1
-rw-r--r-- | .SRCINFO | 25 | ||||
-rw-r--r-- | PKGBUILD | 50 |
2 files changed, 32 insertions, 43 deletions
@@ -1,20 +1,23 @@ pkgbase = datovka-git pkgdesc = GUI application allowing access to a 'Databox' - an electronic communication interface endorsed by the Czech government - pkgver = 20140930 + pkgver = 4.0.2 pkgrel = 1 - url = https://labs.nic.cz/page/969/datovka/ + url = https://gitlab.labs.nic.cz/labs/qdatovka install = datovka-git.install - arch = any - license = GPL2 - makedepends = python2-distribute + arch = i686 + arch = x86_64 + license = LGPL + makedepends = qt5-tools makedepends = git - depends = dslib-git - depends = pygtk - depends = python2-pyasn1 - depends = python2-sqlalchemy - depends = sudsds + depends = qt5-base + depends = libisds + depends = openssl depends = hicolor-icon-theme - optdepends = python-reportlab + provides = datovka + conflicts = qdatovka + conflicts = datovka + source = git+https://gitlab.labs.nic.cz/labs/qdatovka.git + md5sums = SKIP pkgname = datovka-git @@ -1,43 +1,29 @@ # Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org> pkgname=datovka-git -pkgver=20140930 +pkgver=4.0.2 pkgrel=1 pkgdesc="GUI application allowing access to a 'Databox' - an electronic communication interface endorsed by the Czech government" -arch=('any') -url="https://labs.nic.cz/page/969/datovka/" -license=('GPL2') -depends=('dslib-git' 'pygtk' 'python2-pyasn1' 'python2-sqlalchemy' 'sudsds' 'hicolor-icon-theme') -makedepends=('python2-distribute' 'git') -optdepends=('python-reportlab') +arch=('i686' 'x86_64') +url="https://gitlab.labs.nic.cz/labs/qdatovka" +license=('LGPL') +depends=('qt5-base' 'libisds' 'openssl' 'hicolor-icon-theme') +makedepends=('qt5-tools' 'git') +conflicts=('qdatovka' 'datovka') +provides=('datovka') install=$pkgname.install +source=(git+https://gitlab.labs.nic.cz/labs/qdatovka.git) +md5sums=('SKIP') -_gitroot="git://git.nic.cz/datovka/" -_gitname="datovka" +build() { + cd qdatovka -package() { - cd "${srcdir}" - msg "Connecting to GIT server...." - - if [ -d $_gitname ] ; then - cd $_gitname && git pull origin - msg "The local files are updated." - else - git clone $_gitroot $_gitname - fi - - msg "GIT checkout done or server timeout" - msg "Starting make..." - - rm -rf "${srcdir}"/$_gitname-build - git clone "${srcdir}"/$_gitname "${srcdir}"/$_gitname-build - cd "${srcdir}"/$_gitname-build + qmake-qt5 PREFIX=/usr + make +} -#Python2 fix - for file in $(find . -name '*.py' -print); do - sed -i 's_^#!.*/usr/bin/python_#!/usr/bin/python2_' $file - sed -i 's_^#!.*/usr/bin/env.*python_#!/usr/bin/env python2_' $file - done +package() { + cd qdatovka - python2 setup.py install --root="${pkgdir}" + make INSTALL_ROOT="${pkgdir}" install } |