summaryrefslogtreecommitdiffstats
path: root/ubuntu/maverick/applications/knights/debian/rules
diff options
context:
space:
mode:
Diffstat (limited to 'ubuntu/maverick/applications/knights/debian/rules')
-rwxr-xr-xubuntu/maverick/applications/knights/debian/rules12
1 files changed, 12 insertions, 0 deletions
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)