DEB knights: Move extra themes into package knights-themepack.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
pull/14/head
Slávek Banko 6 years ago
parent 895b4a50be
commit ab9c0fd221
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -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.

@ -0,0 +1 @@
opt/trinity/share/apps/knights/themes

@ -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)

@ -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.

@ -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)

@ -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.

@ -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)

Loading…
Cancel
Save