summaryrefslogtreecommitdiff
path: root/lightdm-webkit2-greeter/debian/rules
diff options
context:
space:
mode:
authorB Stack <bgstack15@gmail.com>2019-09-13 18:03:17 +0000
committerB Stack <bgstack15@gmail.com>2019-09-13 18:03:17 +0000
commitd3887a744a54fa1c87078396fbfe294e4b4fdc47 (patch)
treef16a8420d30c5ebd58daa69b04402dda409f50ba /lightdm-webkit2-greeter/debian/rules
parentMerge branch 'palemoon-bump' into 'master' (diff)
parentBetter documentation for chicago95 (diff)
downloadstackrpms-d3887a744a54fa1c87078396fbfe294e4b4fdc47.tar.gz
stackrpms-d3887a744a54fa1c87078396fbfe294e4b4fdc47.tar.bz2
stackrpms-d3887a744a54fa1c87078396fbfe294e4b4fdc47.zip
Merge branch 'chicago95-bump' into 'master'
Chicago95 dpkg scripts See merge request bgstack15/stackrpms!86
Diffstat (limited to 'lightdm-webkit2-greeter/debian/rules')
-rwxr-xr-xlightdm-webkit2-greeter/debian/rules22
1 files changed, 22 insertions, 0 deletions
diff --git a/lightdm-webkit2-greeter/debian/rules b/lightdm-webkit2-greeter/debian/rules
new file mode 100755
index 0000000..b799307
--- /dev/null
+++ b/lightdm-webkit2-greeter/debian/rules
@@ -0,0 +1,22 @@
+#!/usr/bin/make -f
+
+export DESTROOT=$(CURDIR)/debian/lightdm-webkit2-greeter
+export CONFIG_FILE=$(DESTROOT)/etc/lightdm/lightdm-webkit2-greeter.conf
+
+override_dh_auto_configure:
+ cd build && meson --prefix=/usr ..
+
+override_dh_auto_install:
+ cd build && ninja && export DESTDIR=$(DESTROOT) && ninja install
+ sed -i 's|lightdm-webkit/themes/antergos/img/antergos.png|help/C/ubuntu-help/figures/ubuntu-logo.png|g' $(CONFIG_FILE)
+ sed -i 's|lightdm-webkit/themes/antergos/img/antergos-logo-user.png|pixmaps/faces/sunset.jpg|g' $(CONFIG_FILE)
+
+ dh_auto_install
+
+%:
+ dh $@
+
+override_dh_auto_clean:
+ dh_auto_clean
+ rm -rf src/gresource/js/bundle.js build/.ninja_* build/meson-* build/man build/build.ninja \
+ build/compile_commands.json build/data build/src build/themes build/po
bgstack15