summaryrefslogtreecommitdiff
path: root/recipes/shr/shr-settings_git.bb
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2010-04-30 09:57:43 +0200
committerMartin Jansa <Martin.Jansa@gmail.com>2010-04-30 10:06:11 +0200
commit7f934c85b0bc4b9bf9760b369b9874584c3519fb (patch)
treeef03e70b380d6bcbf807057f7e84166942a2cc68 /recipes/shr/shr-settings_git.bb
parenta7dce2f6dd734d9bdda92564b5c53bc15203178b (diff)
shr-settings: add elementary.sh
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'recipes/shr/shr-settings_git.bb')
-rw-r--r--recipes/shr/shr-settings_git.bb12
1 files changed, 10 insertions, 2 deletions
diff --git a/recipes/shr/shr-settings_git.bb b/recipes/shr/shr-settings_git.bb
index 2da6b75631..ebf78a61c1 100644
--- a/recipes/shr/shr-settings_git.bb
+++ b/recipes/shr/shr-settings_git.bb
@@ -7,7 +7,7 @@ SECTION = "x11/application"
SRCREV = "dec4e519308b87b4acf23c605d7f2a75b75e7ba6"
PE = "1"
PV = "0.1.1+gitr${SRCPV}"
-PR = "r9"
+PR = "r10"
inherit setuptools
@@ -21,15 +21,23 @@ RRECOMMENDS_${PN} = "\
${PN}-backup-configuration \
"
+do_install_append() {
+ install -d ${D}/${sysconfdir}/profile.d/
+ install -m 0755 "${WORKDIR}/elementary.sh" "${D}/${sysconfdir}/profile.d/elementary.sh"
+}
+
PACKAGE_ARCH_${PN}-addons-illume = "all"
PACKAGE_ARCH_${PN}-backup-configuration = "all"
-SRC_URI = "git://git.shr-project.org/repo/shr-settings.git;protocol=http;branch=master"
+SRC_URI = "git://git.shr-project.org/repo/shr-settings.git;protocol=http;branch=master \
+ file://elementary.sh"
S = "${WORKDIR}/git"
+FILES_${PN} += "${sysconfdir}/profile.d/elementary.sh"
FILES_${PN} += "${prefix}/share/pixmaps"
FILES_${PN} += "${prefix}/share/applications"
FILES_${PN}-addons-illume = "${prefix}/share/applications/shr-settings-addons-illume"
FILES_${PN}-backup-configuration = "${sysconfdir}/shr-settings/"
+CONFFILES_${PN} = "${sysconfdir}/profile.d/elementary.sh"
CONFFILES_${PN}-backup-configuration = "\
${sysconfdir}/shr-settings/backup.conf \
${sysconfdir}/shr-settings/backup.blacklist \