summaryrefslogtreecommitdiffstats
path: root/ubuntu/maverick/applications/abakus/debian/rules
diff options
context:
space:
mode:
Diffstat (limited to 'ubuntu/maverick/applications/abakus/debian/rules')
-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