From ab9c0fd221389eeb85dc08d266bac96f2bce5e2e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Thu, 31 Jan 2019 18:53:14 +0100 Subject: DEB knights: Move extra themes into package knights-themepack. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- ubuntu/maverick/applications/knights/debian/control | 7 +++++++ ubuntu/maverick/applications/knights/debian/install | 1 - .../knights/debian/knights-themepack-trinity.install | 1 + .../applications/knights/debian/knights-trinity.install | 2 ++ ubuntu/maverick/applications/knights/debian/rules | 12 ++++++++++++ 5 files changed, 22 insertions(+), 1 deletion(-) delete mode 100644 ubuntu/maverick/applications/knights/debian/install create mode 100644 ubuntu/maverick/applications/knights/debian/knights-themepack-trinity.install create mode 100644 ubuntu/maverick/applications/knights/debian/knights-trinity.install (limited to 'ubuntu/maverick/applications/knights/debian') diff --git a/ubuntu/maverick/applications/knights/debian/control b/ubuntu/maverick/applications/knights/debian/control index fa1d161a6..927dfcbad 100644 --- a/ubuntu/maverick/applications/knights/debian/control +++ b/ubuntu/maverick/applications/knights/debian/control @@ -28,3 +28,10 @@ Description: A chess interface for the Trinity Desktop Environment [Trinity] * Audio cues help alert you to important events. * Novice players can preview potential moves. * Save your unfinished matches and play them again later. + +Package: knights-themepack-trinity +Architecture: all +Depends: ${shlibs:Depends} +Enhances: knights-trinity +Description: A chess interface for the Trinity Desktop Environment [Trinity] + This packages contains extra themes. diff --git a/ubuntu/maverick/applications/knights/debian/install b/ubuntu/maverick/applications/knights/debian/install deleted file mode 100644 index 013fe66c3..000000000 --- a/ubuntu/maverick/applications/knights/debian/install +++ /dev/null @@ -1 +0,0 @@ -debian/knights.xpm /opt/trinity/share/pixmaps diff --git a/ubuntu/maverick/applications/knights/debian/knights-themepack-trinity.install b/ubuntu/maverick/applications/knights/debian/knights-themepack-trinity.install new file mode 100644 index 000000000..790c5478d --- /dev/null +++ b/ubuntu/maverick/applications/knights/debian/knights-themepack-trinity.install @@ -0,0 +1 @@ +opt/trinity/share/apps/knights/themes diff --git a/ubuntu/maverick/applications/knights/debian/knights-trinity.install b/ubuntu/maverick/applications/knights/debian/knights-trinity.install new file mode 100644 index 000000000..d0c4719c4 --- /dev/null +++ b/ubuntu/maverick/applications/knights/debian/knights-trinity.install @@ -0,0 +1,2 @@ +opt/trinity +debian/knights.xpm /opt/trinity/share/pixmaps diff --git a/ubuntu/maverick/applications/knights/debian/rules b/ubuntu/maverick/applications/knights/debian/rules index 18b1c07e2..3992c290c 100755 --- a/ubuntu/maverick/applications/knights/debian/rules +++ b/ubuntu/maverick/applications/knights/debian/rules @@ -18,3 +18,15 @@ DEB_CMAKE_EXTRA_FLAGS := \ -DCMAKE_SKIP_RPATH="OFF" \ -DBUILD_ALL="ON" \ -DWITH_ALL_OPTIONS="ON" + +binary-install/knights-trinity:: + @dh_testdir + # remove extra themes + (cd debian/$(cdbs_curpkg)/opt/trinity/share/apps/knights/themes/ && \ + ls -1 | grep -v "K.Default\.tar\.gz" | xargs -r rm) + +binary-install/knights-themepack-trinity:: + @dh_testdir + # remove default theme + (cd debian/$(cdbs_curpkg)/opt/trinity/share/apps/knights/themes/ && \ + ls -1 | grep "K.Default\.tar\.gz" | xargs -r rm) -- cgit v1.2.1