summaryrefslogtreecommitdiff
path: root/waterfox/debian/rules
diff options
context:
space:
mode:
authorB Stack <bgstack15@gmail.com>2019-03-06 15:23:42 -0500
committerB Stack <bgstack15@gmail.com>2019-03-06 15:23:42 -0500
commitfe39148d0cd6ec9020883e8e2af9376412f8da86 (patch)
tree7284d371ba3a04d1e8dcfbe97c5e2cc99057a467 /waterfox/debian/rules
parentwaterfox 56.2.7.1 rpm rc1 (diff)
downloadstackrpms-fe39148d0cd6ec9020883e8e2af9376412f8da86.tar.gz
stackrpms-fe39148d0cd6ec9020883e8e2af9376412f8da86.tar.bz2
stackrpms-fe39148d0cd6ec9020883e8e2af9376412f8da86.zip
WIP: waterfox dpkg
Diffstat (limited to 'waterfox/debian/rules')
-rwxr-xr-xwaterfox/debian/rules31
1 files changed, 31 insertions, 0 deletions
diff --git a/waterfox/debian/rules b/waterfox/debian/rules
new file mode 100755
index 0000000..708a9ed
--- /dev/null
+++ b/waterfox/debian/rules
@@ -0,0 +1,31 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+export SHELL=/bin/bash
+
+%:
+ dh $@
+
+override_dh_auto_clean:
+ rm -f .mozconfig
+ dh_auto_clean
+ find . -name '*.pyc' -delete
+
+override_dh_auto_configure:
+ cp debian/mozconfig mozconfig
+
+override_dh_auto_build:
+ ./mach build
+
+override_dh_auto_install:
+ chmod +x $$(pwd)/debian/waterfox-bin.sh
+ DESTDIR=$$(pwd)/debian/waterfox ./mach install
+ mv $$(pwd)/debian/waterfox/usr/lib/waterfox/browser/features/ $$(pwd)
+ rm -rf $$(pwd)/debian/waterfox/usr/lib/waterfox/waterfox-bin
+ rm -rf $$(pwd)/debian/waterfox/usr/lib/waterfox/dictionaries
+
+override_dh_shlibdeps:
+ dh_shlibdeps -l /usr/lib/waterfox/waterfox
+
+override_dh_builddeb:
+ dh_builddeb -- -Z xz
bgstack15