aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xindicator-install.sh6
-rwxr-xr-xindicator-uninstall.sh4
-rwxr-xr-xlocalgen.sh5
3 files changed, 15 insertions, 0 deletions
diff --git a/indicator-install.sh b/indicator-install.sh
new file mode 100755
index 0000000..f92cb15
--- /dev/null
+++ b/indicator-install.sh
@@ -0,0 +1,6 @@
+#!/bin/bash
+
+PREFIX_NAME="$HOME/Projects/indicator-example/build"
+
+cp -v "$PREFIX_NAME/share/dbus-1/services/indicator-example.service" "/usr/share/dbus-1/services/"
+cp -v "$PREFIX_NAME/indicators/2/libexample.so" "/usr/lib/indicators/5/"
diff --git a/indicator-uninstall.sh b/indicator-uninstall.sh
new file mode 100755
index 0000000..1849f73
--- /dev/null
+++ b/indicator-uninstall.sh
@@ -0,0 +1,4 @@
+#!/bin/bash
+
+rm -v "/usr/share/dbus-1/services/indicator-example.service"
+rm -v "/usr/lib/indicators/5/libexample.so"
diff --git a/localgen.sh b/localgen.sh
new file mode 100755
index 0000000..1e58d67
--- /dev/null
+++ b/localgen.sh
@@ -0,0 +1,5 @@
+#!/bin/bash
+
+PREFIX_NAME="$HOME/Projects/indicator-example/build"
+
+./autogen.sh --prefix="$PREFIX_NAME" --libdir="$PREFIX_NAME" --enable-localinstall