summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorXiretza2021-03-23 16:51:30 +0100
committerXiretza2021-03-23 16:51:30 +0100
commit0135514dd3a504b14deff1c2b5b8e50a8deeb7fa (patch)
tree85ade4444461e487ecb757219bd7371960426119
parentde404abaad1321ad3c854d25d61b17b6e834c406 (diff)
downloadaur-0135514dd3a504b14deff1c2b5b8e50a8deeb7fa.tar.gz
Rename prjxray-git to prjxray-tools-git
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD9
2 files changed, 10 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 65c4a590620d..4515f1ece262 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -32,9 +32,13 @@ pkgbase = prjxray-git
sha256sums = SKIP
sha256sums = SKIP
-pkgname = prjxray-git
+pkgname = prjxray-tools-git
+ provides = prjxray-tools
provides = prjxray
+ provides = prjxray-git
+ conflicts = prjxray-tools
conflicts = prjxray
+ replaces = prjxray-git
pkgname = python-prjxray-git
arch = any
diff --git a/PKGBUILD b/PKGBUILD
index 9e4da430c196..9f41c92cb934 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
_pkgbase=prjxray
pkgbase="$_pkgbase-git"
-pkgname=("$_pkgbase-git" "python-$_pkgbase-git")
+pkgname=("$_pkgbase-tools-git" "python-$_pkgbase-git")
pkgver=r3457.0ddf03b8
pkgrel=1
pkgdesc="Documenting the Xilinx 7-series bit-stream format"
@@ -71,9 +71,10 @@ check() {
env PYTHONPATH=. pytest tests/
}
-package_prjxray-git() {
- provides=("${pkgname%%-git}")
- conflicts=("${pkgname%%-git}")
+package_prjxray-tools-git() {
+ provides=("${pkgname%%-git}" "prjxray" "prjxray-git")
+ conflicts=("${pkgname%%-git}" "prjxray")
+ replaces=("prjxray-git")
make -C build DESTDIR="$pkgdir/" install
install -Dm644 "$_pkgbase/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"