summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorQue Quotion2019-02-12 02:41:38 +0900
committerQue Quotion2019-02-12 02:41:38 +0900
commita66161227ae98b05d230a2ca1e101aabab5396eb (patch)
tree8b8f0edc5926fa876de3409ecf5411b99a2f2582
parent127ab1bbb4b75673a00242247cba91a48a22f745 (diff)
downloadaur-a66161227ae98b05d230a2ca1e101aabab5396eb.tar.gz
Package docs as dbus-x11-docs to avoid conflict with [core]
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD6
2 files changed, 7 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 144e3b7af613..e1e617162a7a 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -28,7 +28,9 @@ pkgname = dbus-x11
conflicts = libdbus
replaces = libdbus
-pkgname = dbus-docs
+pkgname = dbus-x11-docs
pkgdesc = Freedesktop.org message bus system (with x11 autolaunch) (documentation)
depends =
+ provides = dbus-docs
+ conflicts = dbus-docs
diff --git a/PKGBUILD b/PKGBUILD
index 142e32d5e14f..0058808ad3ee 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,7 +5,7 @@
# Contributor: Link Dupont <link@subpop.net>
pkgbase=dbus-x11
-pkgname=(dbus-x11 dbus-docs)
+pkgname=(dbus-x11 dbus-x11-docs)
pkgver=1.12.12
pkgrel=1
pkgdesc="Freedesktop.org message bus system (with x11 autolaunch)"
@@ -75,8 +75,10 @@ package_dbus-x11() {
mv "$pkgdir/usr/share/doc" "$srcdir"
}
-package_dbus-docs() {
+package_dbus-x11-docs() {
pkgdesc+=" (documentation)"
+ provides=(dbus-docs)
+ conflicts=(dbus-docs)
depends=()
install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 dbus/COPYING