summaryrefslogtreecommitdiffstats
path: root/ubuntu
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-11-28 15:25:23 -0600
committerSlávek Banko <slavek.banko@axis.cz>2012-07-29 18:58:00 +0200
commitee351365a7f49529dcb84d7914382212a3efdbdf (patch)
tree731d8c9f710318733d24a89590af72aaddf36196 /ubuntu
parent5917947adfd436afb14b474fbd2e2ce2e8d0c4fb (diff)
downloadtde-packaging-ee351365a7f49529dcb84d7914382212a3efdbdf.tar.gz
tde-packaging-ee351365a7f49529dcb84d7914382212a3efdbdf.zip
Fix abakus build on Debian and Ubuntu
(cherry picked from commit 971b00b04e026f6115aa1155b483a12f1768e2be)
Diffstat (limited to 'ubuntu')
-rwxr-xr-xubuntu/maverick/applications/abakus/debian/rules15
1 files changed, 14 insertions, 1 deletions
diff --git a/ubuntu/maverick/applications/abakus/debian/rules b/ubuntu/maverick/applications/abakus/debian/rules
index 8041bcf1e..10ec1e1b3 100755
--- a/ubuntu/maverick/applications/abakus/debian/rules
+++ b/ubuntu/maverick/applications/abakus/debian/rules
@@ -23,4 +23,17 @@ DEB_CMAKE_EXTRA_FLAGS := -DLIB_SUFFIX="" -DCMAKE_INSTALL_PREFIX="/opt/trinity" -
# Honour "parallel=N" option of DEB_BUILD_OPTIONS. Comment out to
# never build in parallel, regardless of DEB_BUILD_OPTIONS.
-DEB_BUILD_PARALLEL = true \ No newline at end of file
+DEB_BUILD_PARALLEL = true
+
+debian/abakus.xpm: icons/hi64-app-abakus.png
+ convert -resize 32 $< $@
+
+common-build-arch:: debian/abakus.xpm
+
+common-install-arch::
+ install -D -m 644 debian/abakus.xpm debian/abakus-trinity/opt/trinity/share/pixmaps/abakus.xpm
+ chrpath -d debian/abakus-trinity/opt/trinity/bin/abakus
+ dh_icons -pabakus
+
+clean::
+ rm -f debian/abakus.xpm