--- diary-1767815598.3b5fdbc.orig/debian/rules
+++ diary-1767815598.3b5fdbc/debian/rules
@@ -0,0 +1,16 @@
+#!/usr/bin/make -f
+# See debhelper(7)
+# output every command that modifies files on the build system.
+DH_VERBOSE = 1
+
+PACKAGE = diary-nightly
+PKGDIR	= ${CURDIR}/debian/${PACKAGE}
+_PREFIX = /usr
+
+%:
+	dh $@
+
+override_dh_auto_install:
+	mkdir -p "${PKGDIR}${_PREFIX}/bin"
+	dh_auto_install --destdir="${PKGDIR}" -- PREFIX="${_PREFIX}"
+	chmod 0755 "${PKGDIR}${_PREFIX}/bin/diary"
--- diary-1767815598.3b5fdbc.orig/debian/control
+++ diary-1767815598.3b5fdbc/debian/control
@@ -0,0 +1,12 @@
+Source: diary-nightly
+Section: utils
+Priority: optional
+Maintainer: Andreas Gruhler <agruhl@gmx.ch>
+Build-Depends: pkg-config, debhelper, libncurses5-dev, libncursesw5-dev, libcurl4-gnutls-dev, libxml2-dev
+
+Package: diary-nightly
+Architecture: any
+Description: Text-based journaling program
+ This is a text-based diary, inspired by khal.
+ Journal entries are stored in text files.
+Depends: libncurses5, libncursesw5, libcurl4, libxml2
--- diary-1767815598.3b5fdbc.orig/debian/compat
+++ diary-1767815598.3b5fdbc/debian/compat
@@ -0,0 +1,1 @@
+10
--- diary-1767815598.3b5fdbc.orig/debian/changelog
+++ diary-1767815598.3b5fdbc/debian/changelog
@@ -0,0 +1,5 @@
+diary-nightly (1767815598.3b5fdbc-0) unstable; urgency=low
+
+  * Latest nightly build
+
+ -- Andreas Gruhler <agruhl@gmx.ch>  Sun, 4 Jul 2021 19:50:28 +0200
