duview build added
authorMichael J.M. Wagner <michael@wagnertech.de>
Mon, 22 Apr 2024 21:02:30 +0000 (21:02 +0000)
committerMichael J.M. Wagner <michael@wagnertech.de>
Mon, 22 Apr 2024 21:02:30 +0000 (21:02 +0000)
debian/duview.build [new file with mode: 0755]
debian/duview.changelog [new file with mode: 0644]
debian/duview.conf [new file with mode: 0644]
debian/duview.control [new file with mode: 0644]
debian/duview.cp [new file with mode: 0755]
debian/duview.prebuild [new file with mode: 0755]
debian/duview.prepare [new file with mode: 0755]
duview/.dummy [new file with mode: 0644]

diff --git a/debian/duview.build b/debian/duview.build
new file mode 100755 (executable)
index 0000000..640c746
--- /dev/null
@@ -0,0 +1,6 @@
+#!/bin/bash
+set -e
+
+cd snapshot
+go build
+
diff --git a/debian/duview.changelog b/debian/duview.changelog
new file mode 100644 (file)
index 0000000..6c51f9c
--- /dev/null
@@ -0,0 +1,3 @@
+duview (0.1-%BUILD%) unstable; urgency=medium
+  * Schillies duview (LM 2023-09)
+ -- Michael Wagner <michael@wagnertech.de>  Mon, 22 Apr 2024 10:00:00 +0100
diff --git a/debian/duview.conf b/debian/duview.conf
new file mode 100644 (file)
index 0000000..4dd470c
--- /dev/null
@@ -0,0 +1,4 @@
+compile_type=ANY
+target_type=DEB
+#add_conf_args="-V"
+
diff --git a/debian/duview.control b/debian/duview.control
new file mode 100644 (file)
index 0000000..c99c530
--- /dev/null
@@ -0,0 +1,10 @@
+Source: duview
+Section: main
+Priority: optional
+Maintainer: Michael Wagner <michael@wagnertech.de>
+Build-Depends: git
+Package: duview
+Architecture: all
+Description: Schillies duview (LM 2023-09)
+
diff --git a/debian/duview.cp b/debian/duview.cp
new file mode 100755 (executable)
index 0000000..c1e4500
--- /dev/null
@@ -0,0 +1,6 @@
+#!/bin/bash
+set -e
+
+mkdir -p $1/usr/bin
+cp ~/build/snapshot/duview $1/usr/bin
+
diff --git a/debian/duview.prebuild b/debian/duview.prebuild
new file mode 100755 (executable)
index 0000000..40b9aba
--- /dev/null
@@ -0,0 +1,9 @@
+#!/bin/bash
+set -e
+
+unzip duview/LM_2023-09_088_48725.zip
+cd snapshot
+rm heap-main.go
+go mod init duview
+go mod tidy
+
diff --git a/debian/duview.prepare b/debian/duview.prepare
new file mode 100755 (executable)
index 0000000..d3458ce
--- /dev/null
@@ -0,0 +1,10 @@
+#!/bin/bash
+set -e
+
+
+# determine version
+#version=$(grep "APP_VERSION" initialize.php |sed 's/define("APP_VERSION", "//' |sed 's/".*//')
+#echo $version
+#echo "export version=$version" >> ../../debian/setenv.sh
+#echo "version=$version" >> ../../debian/rules.pre
+
diff --git a/duview/.dummy b/duview/.dummy
new file mode 100644 (file)
index 0000000..e69de29