summaryrefslogtreecommitdiffstats
path: root/meta/packages/clipboard-manager/clipboard-manager_0.6.4.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/clipboard-manager/clipboard-manager_0.6.4.bb')
-rw-r--r--meta/packages/clipboard-manager/clipboard-manager_0.6.4.bb34
1 files changed, 34 insertions, 0 deletions
diff --git a/meta/packages/clipboard-manager/clipboard-manager_0.6.4.bb b/meta/packages/clipboard-manager/clipboard-manager_0.6.4.bb
new file mode 100644
index 0000000000..7ab7deaf81
--- /dev/null
+++ b/meta/packages/clipboard-manager/clipboard-manager_0.6.4.bb
@@ -0,0 +1,34 @@
1LICENSE = "GPL"
2DESCRIPTION = "clipboard manager"
3
4PR = "r0"
5
6SRC_URI = "svn://stage.maemo.org/svn/maemo/projects/haf/tags/clipboard-manager/;module=${PV};proto=https \
7 file://makefile.patch;patch=1 \
8 file://script.patch;patch=1 \
9 file://daemonize.patch;patch=1 \
10 "
11
12S = "${WORKDIR}/${PV}"
13
14inherit autotools pkgconfig
15
16do_install_append () {
17 mv ${D}/${sysconfdir}/X11/Xsession.d/clipboard.sh ${D}/${sysconfdir}/X11/Xsession.d/70clipboard
18 chmod u+x ${D}/${sysconfdir}/X11/Xsession.d/70clipboard
19}
20
21pkg_postinst_clipboard-manager () {
22#!/bin/sh -e
23if [ x"$D" = "x" ]; then
24 {
25 if [ x$(pidof clipboard-manager) != x ]; then
26 kill -TERM $(pidof clipboard-manager)
27 fi
28
29 ${sysconfdir}/X11/Xsession.d/70clipboard
30 } > /dev/null
31else
32 exit 1
33fi
34}