diff options
author | xiota | 2023-11-24 18:43:08 -0800 |
---|---|---|
committer | xiota | 2023-11-24 18:43:08 -0800 |
commit | 2cf3167c4e9c664f97d62e1e3d6b19700268bcd4 (patch) | |
tree | 297fdc143d3b0225663e219241f1c71e1b382578 | |
parent | 52a651e077d2d0a8b0c9e7bf75d36c75f7b8c11a (diff) | |
download | aur-2cf3167c4e9c664f97d62e1e3d6b19700268bcd4.tar.gz |
add conflicts
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 9 |
2 files changed, 9 insertions, 2 deletions
@@ -15,6 +15,8 @@ pkgbase = alphaplot depends = qt5-datavis3d depends = qt5-script depends = qt5-svg + conflicts = alphaplot-bin + conflicts = alphaplot-git source = alphaplot-1.02.tar.gz::https://github.com/narunlifescience/AlphaPlot/archive/refs/tags/1.02.tar.gz sha256sums = 90952b2036b9d25b31c0c8fb34c47ff700bb2847234dda42d900070fc60d3c61 @@ -30,6 +30,11 @@ _main_package() { 'qt5-tools' ) + conflicts=( + alphaplot-bin + alphaplot-git + ) + if [ x"$pkgname" == x"$_pkgname" ] ; then _main_stable else @@ -54,8 +59,8 @@ _main_stable() { _main_git() { makedepends+=('git') - provides=("$_pkgname=${pkgver%%.r*}") - conflicts=("$_pkgname") + provides+=("$_pkgname=${pkgver%%.r*}") + conflicts+=("$_pkgname") _pkgsrc="$_pkgname" source=("$_pkgsrc"::"git+$url.git") |