summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2021-02-03 23:50:18 +0100
committerSlávek Banko <slavek.banko@axis.cz>2021-02-04 00:06:23 +0100
commitcf43c29c56c5dde3c57ed057e3ec321c97b01e30 (patch)
tree896b8a1ccb44e6ec82b47e8fa590e3acbfb1e033
parent8c919bbc8df3a62820aec41f9123a76a241e951d (diff)
downloadtde-packaging-v3.5.13-sru.tar.gz
tde-packaging-v3.5.13-sru.zip
DEB tdelibs: Install apidocs as kdelibs-apidocsv3.5.13-sru
to maintain compatibility for the v3.5.x series. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
-rw-r--r--debian/_base/core/kdelibs/debian/kdelibs4-trinity-doc.install2
-rwxr-xr-xdebian/_base/core/kdelibs/debian/rules5
-rw-r--r--ubuntu/_base/core/kdelibs/debian/kdelibs4-trinity-doc.install2
-rwxr-xr-xubuntu/_base/core/kdelibs/debian/rules5
4 files changed, 12 insertions, 2 deletions
diff --git a/debian/_base/core/kdelibs/debian/kdelibs4-trinity-doc.install b/debian/_base/core/kdelibs/debian/kdelibs4-trinity-doc.install
index bbc48fffa..aef1aa435 100644
--- a/debian/_base/core/kdelibs/debian/kdelibs4-trinity-doc.install
+++ b/debian/_base/core/kdelibs/debian/kdelibs4-trinity-doc.install
@@ -1 +1 @@
-debian/tmp/opt/trinity/share/doc/tde/HTML/en/kdelibs-apidocs/*
+debian/tmp/opt/trinity/share/doc/tde/HTML/en/?delibs-apidocs/*
diff --git a/debian/_base/core/kdelibs/debian/rules b/debian/_base/core/kdelibs/debian/rules
index 03fcb6da5..2cd662ecd 100755
--- a/debian/_base/core/kdelibs/debian/rules
+++ b/debian/_base/core/kdelibs/debian/rules
@@ -98,6 +98,11 @@ ifeq (linux,$(DEB_HOST_ARCH_OS))
echo "libasound2-trinity-dev=libasound2-trinity-dev" >> debian/kdelibs4-trinity-dev.substvars
endif
+binary-install/kdelibs4-trinity-doc::
+ [ -d debian/$(cdbs_curpkg)/opt/trinity/share/doc/tde/HTML/en/kdelibs-apidocs ] || \
+ mv debian/$(cdbs_curpkg)/opt/trinity/share/doc/tde/HTML/en/tdelibs-apidocs \
+ debian/$(cdbs_curpkg)/opt/trinity/share/doc/tde/HTML/en/kdelibs-apidocs
+
binary-install/kdelibs4c2a-trinity::
mv debian/tmp/opt/trinity/bin/kcmshell debian/tmp/opt/trinity/bin/kcmshell.real
install -p -D -m755 debian/tmp/opt/trinity/bin/kcmshell.real debian/kdelibs4c2a-trinity/opt/trinity/bin/kcmshell.real
diff --git a/ubuntu/_base/core/kdelibs/debian/kdelibs4-trinity-doc.install b/ubuntu/_base/core/kdelibs/debian/kdelibs4-trinity-doc.install
index bbc48fffa..aef1aa435 100644
--- a/ubuntu/_base/core/kdelibs/debian/kdelibs4-trinity-doc.install
+++ b/ubuntu/_base/core/kdelibs/debian/kdelibs4-trinity-doc.install
@@ -1 +1 @@
-debian/tmp/opt/trinity/share/doc/tde/HTML/en/kdelibs-apidocs/*
+debian/tmp/opt/trinity/share/doc/tde/HTML/en/?delibs-apidocs/*
diff --git a/ubuntu/_base/core/kdelibs/debian/rules b/ubuntu/_base/core/kdelibs/debian/rules
index 3af3cc3a5..7aa92e2a3 100755
--- a/ubuntu/_base/core/kdelibs/debian/rules
+++ b/ubuntu/_base/core/kdelibs/debian/rules
@@ -98,6 +98,11 @@ ifeq (linux,$(DEB_HOST_ARCH_OS))
echo "libasound2-trinity-dev=libasound2-trinity-dev" >> debian/kdelibs4-trinity-dev.substvars
endif
+binary-install/kdelibs4-trinity-doc::
+ [ -d debian/$(cdbs_curpkg)/opt/trinity/share/doc/tde/HTML/en/kdelibs-apidocs ] || \
+ mv debian/$(cdbs_curpkg)/opt/trinity/share/doc/tde/HTML/en/tdelibs-apidocs \
+ debian/$(cdbs_curpkg)/opt/trinity/share/doc/tde/HTML/en/kdelibs-apidocs
+
binary-install/kdelibs4c2a-trinity::
mv debian/tmp/opt/trinity/bin/kcmshell debian/tmp/opt/trinity/bin/kcmshell.real
install -p -D -m755 debian/tmp/opt/trinity/bin/kcmshell.real debian/kdelibs4c2a-trinity/opt/trinity/bin/kcmshell.real