From 408d8b0e8f3e7a7d0d082221e3c5d365c77d0769 Mon Sep 17 00:00:00 2001 From: pommicket Date: Wed, 5 Mar 2025 20:46:36 -0500 Subject: Bump version to 2.7.7 Also add automated control file generation --- control.sh | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100755 control.sh (limited to 'control.sh') diff --git a/control.sh b/control.sh new file mode 100755 index 0000000..f68e2f0 --- /dev/null +++ b/control.sh @@ -0,0 +1,15 @@ +#!/bin/sh + +# Script for generating debian control file for ted + +echo 'Package: ted' +printf 'Version: %s\n' $(grep '#define TED_VERSION' ted.h | cut -d'"' -f2) +echo 'Section: text +Priority: optional +Architecture: amd64 +Essential: no +Maintainer: Pommicket +Description: A text editor.' +printf 'Installed-Size: %s\n' $(du -k $1 | tail -n1 | cut -f1) +echo 'Depends: libsdl2-2.0-0 +Homepage: https://github.com/pommicket/ted' -- cgit v1.2.3