From: Michael J.M. Wagner Date: Mon, 22 Apr 2024 21:02:30 +0000 (+0000) Subject: duview build added X-Git-Tag: verleihnix_0.2-0~1 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=6d4ef235fd071e35ec7af2eea6c957e3cb929f4a;p=projects.git duview build added --- diff --git a/debian/duview.build b/debian/duview.build new file mode 100755 index 0000000..640c746 --- /dev/null +++ b/debian/duview.build @@ -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 index 0000000..6c51f9c --- /dev/null +++ b/debian/duview.changelog @@ -0,0 +1,3 @@ +duview (0.1-%BUILD%) unstable; urgency=medium + * Schillies duview (LM 2023-09) + -- Michael Wagner Mon, 22 Apr 2024 10:00:00 +0100 diff --git a/debian/duview.conf b/debian/duview.conf new file mode 100644 index 0000000..4dd470c --- /dev/null +++ b/debian/duview.conf @@ -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 index 0000000..c99c530 --- /dev/null +++ b/debian/duview.control @@ -0,0 +1,10 @@ +Source: duview +Section: main +Priority: optional +Maintainer: Michael Wagner +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 index 0000000..c1e4500 --- /dev/null +++ b/debian/duview.cp @@ -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 index 0000000..40b9aba --- /dev/null +++ b/debian/duview.prebuild @@ -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 index 0000000..d3458ce --- /dev/null +++ b/debian/duview.prepare @@ -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 index 0000000..e69de29