summaryrefslogtreecommitdiff
path: root/lightdm-webkit2-greeter/debian/rules
diff options
context:
space:
mode:
authorB Stack <bgstack15@gmail.com>2019-09-11 11:15:39 -0400
committerB Stack <bgstack15@gmail.com>2019-09-11 11:15:39 -0400
commit2102c7f17543e45f9c8d8ca091bc17e870d75669 (patch)
tree389bf2056135b91095ba1a962144de718b669161 /lightdm-webkit2-greeter/debian/rules
parentadd sound autostart shortcut (diff)
downloadstackrpms-2102c7f17543e45f9c8d8ca091bc17e870d75669.tar.gz
stackrpms-2102c7f17543e45f9c8d8ca091bc17e870d75669.tar.bz2
stackrpms-2102c7f17543e45f9c8d8ca091bc17e870d75669.zip
add lightdm-webkit2-greeter
forked from https://github.com/Antergos/web-greeter/releases and https://build.opensuse.org/package/show/home:antergos/lightdm-webkit2-greeter But this merely builds the dpkg; I have not tested using it or building it on OBS.
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