From 53520e20be60eb276faf340b2e50bd0e4d896935 Mon Sep 17 00:00:00 2001 From: Markus Brechtel Date: Sun, 23 Sep 2018 17:50:24 +0200 Subject: [PATCH] light-locker-settings --- tasks/light-locker-settings.yaml | 37 ++++++++++++++++++++++++++++++++ tasks/xfce.yaml | 2 ++ 2 files changed, 39 insertions(+) create mode 100644 tasks/light-locker-settings.yaml diff --git a/tasks/light-locker-settings.yaml b/tasks/light-locker-settings.yaml new file mode 100644 index 0000000..e489ccf --- /dev/null +++ b/tasks/light-locker-settings.yaml @@ -0,0 +1,37 @@ +--- +- name: light-locker-settings dependencies + apt: + name: "{{ item }}" + with_items: + - gettext + - intltool + +- name: download light-locker-settings + get_url: + url: https://launchpad.net/light-locker-settings/1.5/1.5.0/+download/light-locker-settings-1.5.0.tar.bz2 + dest: /opt/light-locker-settings-1.5.0.tar.bz2 + checksum: sha256:c36bb7eacc66bafffce67f95a94ad84121162169b74e610c48cc5c4de777039c + +- name: unpack light-locker-settings + unarchive: + src: /opt/light-locker-settings-1.5.0.tar.bz2 + remote_src: yes + dest: /opt + +- name: configure script for light-locker-settings + command: ./configure + args: + chdir: /opt/light-locker-settings-1.5.0 + creates: /usr/local/bin/light-locker-settings + +- name: make light-locker-settings + command: make + args: + chdir: /opt/light-locker-settings-1.5.0 + creates: /usr/local/bin/light-locker-settings + +- name: install light-locker-settings + command: make install + args: + chdir: /opt/light-locker-settings-1.5.0 + creates: /usr/local/bin/light-locker-settings diff --git a/tasks/xfce.yaml b/tasks/xfce.yaml index dade0d8..38dac6c 100644 --- a/tasks/xfce.yaml +++ b/tasks/xfce.yaml @@ -50,3 +50,5 @@ template: src: xfwm4.xml.j2 dest: /etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xfwm4.xml + +- import_tasks: light-locker-settings.yaml