[SCM] pd-ggee/master: Manually strip and fix permissions of binaries
umlaeute at users.alioth.debian.org
umlaeute at users.alioth.debian.org
Wed Jun 3 18:34:55 UTC 2015
The following commit has been merged in the master branch:
commit 0ed55ef48c4e0afe8f6e6a19abd449fad50ca2ba
Author: IOhannes m zmölnig <zmoelnig at umlautQ.umlaeute.mur.at>
Date: Wed Jun 3 17:02:02 2015 +0200
Manually strip and fix permissions of binaries
diff --git a/debian/rules b/debian/rules
index bb36716..a870647 100755
--- a/debian/rules
+++ b/debian/rules
@@ -11,5 +11,17 @@ override_dh_auto_install:
dh_auto_install -- prefix=/usr pkglibdir=$(pkglibdir)
override_dh_shlibdeps:
- dpkg-shlibdeps $(CURDIR)/debian/$(PACKAGE)$(pkglibdir)/$(LIBRARY_NAME)/*.pd_linux \
- -T$(CURDIR)/debian/$(PACKAGE).substvars
+ dh_shlibdeps
+ find debian -name "*.pd_linux" -exec \
+ dpkg-shlibdeps -Tdebian/$(PACKAGE).substvars {} +
+
+override_dh_strip:
+ dh_strip
+ find debian -name "*.pd_linux" -exec \
+ strip --remove-section=.comment --remove-section=.note --strip-unneeded {} +
+
+override_dh_fixperms:
+ dh_fixperms
+ find debian -name '*.pd_linux' -exec \
+ chmod 0644 {} +
+
--
pd-ggee packaging
More information about the pkg-multimedia-commits
mailing list