Skip to content
Snippets Groups Projects
Commit 79219cd7 authored by Tomáš Pecka's avatar Tomáš Pecka
Browse files

Rename packages in PKGBUILD, make gui a tight dependency

parent dcde648e
No related branches found
No related tags found
No related merge requests found
Pipeline #43596 canceled
# Maintainer: Tomas Pecka <peckato1 at fit dot cvut dot cz> # Maintainer: Tomas Pecka <peckato1 at fit dot cvut dot cz>
   
pkgname=('algorithms-library-git' 'algorithms-library-gui-git') pkgname=('algorithms-library-nightly' 'algorithms-library-gui-nightly')
pkgbase='automata-library' pkgbase='automata-library'
   
pkgver=0.0.0.r515.gc4bc905a4 pkgver=0.0.0.r521.g362073025
pkgrel=1 pkgrel=1
   
pkgdesc='Theoretical computer science datastructures and algorithms implementation. The library provides graphical and console interface similar to bash with many classical algorithms manipulating automata, grammars, regular expressions, trees and strings.' pkgdesc='Theoretical computer science datastructures and algorithms implementation. The library provides graphical and console interface similar to bash with many classical algorithms manipulating automata, grammars, regular expressions, trees and strings.'
...@@ -45,7 +45,7 @@ check() { ...@@ -45,7 +45,7 @@ check() {
make test ARGS="--output-on-failure" make test ARGS="--output-on-failure"
} }
   
package_algorithms-library-git() { package_algorithms-library-nightly() {
depends=('tclap' 'libxml2' 'readline') depends=('tclap' 'libxml2' 'readline')
optdepends=('graphviz: Visualize data structures') optdepends=('graphviz: Visualize data structures')
provides=('algorithms-library') provides=('algorithms-library')
...@@ -72,8 +72,8 @@ package_algorithms-library-git() { ...@@ -72,8 +72,8 @@ package_algorithms-library-git() {
popd popd
} }
   
package_algorithms-library-gui-git() { package_algorithms-library-gui-nightly() {
depends=('libxml2' 'qt5-base>=5.7' 'graphviz' 'jsoncpp' 'algorithms-library') depends=('libxml2' 'qt5-base>=5.7' 'graphviz' 'jsoncpp' "algorithms-library-nightly>=$pkgver" "algorithms-library-nightly<=$pkgver")
provides=('algorithms-library-gui') provides=('algorithms-library-gui')
conflicts=('algorithms-library-gui') conflicts=('algorithms-library-gui')
   
......
...@@ -68,7 +68,7 @@ package_algorithms-library() { ...@@ -68,7 +68,7 @@ package_algorithms-library() {
} }
   
package_algorithms-library-gui() { package_algorithms-library-gui() {
depends=('libxml2' 'qt5-base>=5.7' 'graphviz' 'jsoncpp' 'algorithms-library') depends=('libxml2' 'qt5-base>=5.7' 'graphviz' 'jsoncpp' "algorithms-library>=$pkgver" "algorithms-library<=$pkgver")
provides=('algorithms-library-gui') provides=('algorithms-library-gui')
conflicts=('algorithms-library-gui') conflicts=('algorithms-library-gui')
   
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment