summaryrefslogtreecommitdiffstats
path: root/ubuntu/_base/applications/fusion-icon/debian/rules
diff options
context:
space:
mode:
Diffstat (limited to 'ubuntu/_base/applications/fusion-icon/debian/rules')
-rwxr-xr-xubuntu/_base/applications/fusion-icon/debian/rules21
1 files changed, 21 insertions, 0 deletions
diff --git a/ubuntu/_base/applications/fusion-icon/debian/rules b/ubuntu/_base/applications/fusion-icon/debian/rules
new file mode 100755
index 000000000..88040a563
--- /dev/null
+++ b/ubuntu/_base/applications/fusion-icon/debian/rules
@@ -0,0 +1,21 @@
+#!/usr/bin/make -f
+
+DEB_PYTHON_SYSTEM=pysupport
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+# include /usr/share/cdbs/1/class/python-distutils.mk
+include debian/python-distutils-custom.mk
+#include /usr/share/cdbs/1/rules/patchsys-quilt.mk
+
+DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
+ && echo xz || echo bzip2)
+
+binary-install/fusion-icon-trinity::
+ mkdir -p debian/fusion-icon-trinity/usr/local/lib
+ cp -Rp debian/fusion-icon-trinity/usr/local/* debian/fusion-icon-trinity/usr/
+ rm -rf debian/fusion-icon-trinity/usr/local
+ mkdir -p debian/fusion-icon-trinity/opt/trinity
+ cp -Rp debian/fusion-icon-trinity/usr/* debian/fusion-icon-trinity/opt/trinity/
+ rm -rf debian/fusion-icon-trinity/usr
+ dh_pysupport -pfusion-icon-trinity
+ dh_icons