diff --git a/hello-world/.gitignore b/hello-world/.gitignore new file mode 100644 index 0000000..c776bdf --- /dev/null +++ b/hello-world/.gitignore @@ -0,0 +1 @@ +*.deb \ No newline at end of file diff --git a/hello-world/media/hello-world-image-1.jpg b/hello-world/media/hello-world-image-1.jpg new file mode 100644 index 0000000..b52f1a1 Binary files /dev/null and b/hello-world/media/hello-world-image-1.jpg differ diff --git a/hello-world/media/hello-world-image-2.jpg b/hello-world/media/hello-world-image-2.jpg new file mode 100644 index 0000000..478d052 Binary files /dev/null and b/hello-world/media/hello-world-image-2.jpg differ diff --git a/hello-world/media/hello-world-image-3.jpg b/hello-world/media/hello-world-image-3.jpg new file mode 100644 index 0000000..4107fe3 Binary files /dev/null and b/hello-world/media/hello-world-image-3.jpg differ diff --git a/hello-world/media/hello-world-thumbnail.jpg b/hello-world/media/hello-world-thumbnail.jpg new file mode 100644 index 0000000..bc2d2ab Binary files /dev/null and b/hello-world/media/hello-world-thumbnail.jpg differ diff --git a/hello-world/package/DEBIAN/control b/hello-world/package/DEBIAN/control new file mode 100644 index 0000000..bbc1a86 --- /dev/null +++ b/hello-world/package/DEBIAN/control @@ -0,0 +1,21 @@ +Package: hello-world +Version: 1.0.0 +Maintainer: Tooloop Multimedia +Homepage: https://www.tooloop.de +Bugs: https://www.github.com/Tooloop/Tooloop-Packages +Section: tooloop/presentation +Architecture: amd64 +Name: Hello World +Thumbnail: hello-world-thumbnail.jpg +Media: hello-world-image-1.jpg, hello-world-image-2.jpg, hello-world-image-3.jpg +Description: Example package skeleton + ### Just an example + . + This package is meant as a bare example to get you started packaging your own + presentation. Use it as a skeleton. For more details, please see the + [README](https://github.com/Tooloop/Tooloop-Packages). + . + ### Credits + . + Photos by [NASA](https://unsplash.com/@nasa?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText) + on [Unsplash](https://unsplash.com/@nasa?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText) diff --git a/hello-world/package/DEBIAN/postinst b/hello-world/package/DEBIAN/postinst new file mode 100755 index 0000000..81a68ce --- /dev/null +++ b/hello-world/package/DEBIAN/postinst @@ -0,0 +1,6 @@ +#!/bin/bash +set -e + +# Do something after package installation + +exit 0 \ No newline at end of file diff --git a/hello-world/package/DEBIAN/postrm b/hello-world/package/DEBIAN/postrm new file mode 100755 index 0000000..b95adeb --- /dev/null +++ b/hello-world/package/DEBIAN/postrm @@ -0,0 +1,6 @@ +#!/bin/bash +set -e + +# Do something after package removal + +exit 0 \ No newline at end of file diff --git a/hello-world/package/DEBIAN/preinst b/hello-world/package/DEBIAN/preinst new file mode 100755 index 0000000..4cded55 --- /dev/null +++ b/hello-world/package/DEBIAN/preinst @@ -0,0 +1,6 @@ +#!/bin/bash +set -e + +# Do something before package installation + +exit 0 \ No newline at end of file diff --git a/hello-world/package/DEBIAN/prerm b/hello-world/package/DEBIAN/prerm new file mode 100755 index 0000000..3ea056f --- /dev/null +++ b/hello-world/package/DEBIAN/prerm @@ -0,0 +1,6 @@ +#!/bin/bash +set -e + +# Do something before package removal + +exit 0 \ No newline at end of file diff --git a/hello-world/package/assets/presentation/start-presentation.sh b/hello-world/package/assets/presentation/start-presentation.sh new file mode 100644 index 0000000..a214a6b --- /dev/null +++ b/hello-world/package/assets/presentation/start-presentation.sh @@ -0,0 +1,8 @@ +#!/bin/bash + +# here comes everything, you want Tooloop to run +# don't forget to put an "&" at the end of each line, e.g. xeyes & + +xeyes & + +exit 0 diff --git a/hello-world/package/assets/presentation/stop-presentation.sh b/hello-world/package/assets/presentation/stop-presentation.sh new file mode 100644 index 0000000..b4f7c29 --- /dev/null +++ b/hello-world/package/assets/presentation/stop-presentation.sh @@ -0,0 +1,8 @@ +#!/bin/bash + +# here comes everything, you need to stop the running presentation +# basically kill or stop everything you started in `start-presentation.sh` + +kill $(pidof xeyes) + +exit 0