summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Kylie McClain <somasis@exherbo.org> 2015-06-04 18:56:43 -0400
committerAvatar Kylie McClain <somasis@exherbo.org> 2015-06-04 18:56:43 -0400
commitde33b8d987a87995adc0a44b3d8e7af1937697e5 (patch)
tree95e95c867f96ded4b5a198169217d7db8bdca664
parent79a47f417608fc4c5e88241e0e66cd63347a20a9 (diff)
downloadbikeshed-de33b8d987a87995adc0a44b3d8e7af1937697e5.tar.gz
bikeshed-de33b8d987a87995adc0a44b3d8e7af1937697e5.tar.xz
zebrapig: initial exheres, v1
-rw-r--r--metadata/categories.conf2
-rwxr-xr-xpackages/app-misc/zebrapig/files/zebrapig-131
-rw-r--r--packages/app-misc/zebrapig/zebrapig-1.exheres-012
3 files changed, 44 insertions, 1 deletions
diff --git a/metadata/categories.conf b/metadata/categories.conf
index 73a98c9..6323d2e 100644
--- a/metadata/categories.conf
+++ b/metadata/categories.conf
@@ -1 +1 @@
-dev-scm
+app-misc
diff --git a/packages/app-misc/zebrapig/files/zebrapig-1 b/packages/app-misc/zebrapig/files/zebrapig-1
new file mode 100755
index 0000000..7582427
--- /dev/null
+++ b/packages/app-misc/zebrapig/files/zebrapig-1
@@ -0,0 +1,31 @@
+#!/bin/bash
+# zebrapig - brighten your day by singing the praises of our loyal mascot
+#
+# Copyright 2015 Kylie McClain <somasis@exherbo.org>
+#
+# Permission to use, copy, modify, and/or distribute this software for any
+# purpose with or without fee is hereby granted, provided that the above
+# copyright notice and this permission notice appear in all copies.
+#
+# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+#
+
+Distributed under the terms of the GNU General Public License v2
+
+time=$(date +%s)
+rand=$(echo "$time" | cut -c ${#time})
+
+if [[ "${rand}" -eq $(( ${RANDOM} % ${#time} + ${#RANDOM} )) ]];then
+ echo "Soon, zebrapig will rule the world. Resistance is futile."
+ echo "All will be assimilated."
+ echo
+ echo "Expect him."
+else
+ echo "Exherbo is the best!"
+fi
diff --git a/packages/app-misc/zebrapig/zebrapig-1.exheres-0 b/packages/app-misc/zebrapig/zebrapig-1.exheres-0
new file mode 100644
index 0000000..4db9f05
--- /dev/null
+++ b/packages/app-misc/zebrapig/zebrapig-1.exheres-0
@@ -0,0 +1,12 @@
+# Copyright 2015 Kylie McClain <somasis@exherbo.org>
+# Distributed under the terms of the GNU General Public License v2
+
+SUMMARY="Brighten your day by singing the praises of zebrapig"
+SLOT="0"
+LICENCES="ISC"
+
+MYOPTIONS=""
+
+src_install() {
+ dobin "${FILES}/${PNV}"
+}