--strip-cherry-pick \
>ChangeLog; \
fi
+
+# Create debian package
+TMP_DIR = deb
+pkg-deb:
+ - rm -rf $(TMP_DIR)
+ mkdir -p $(TMP_DIR)
+ cp $(PACKAGE)-$(VERSION).tar.bz2 $(TMP_DIR)/
+ tar --directory $(TMP_DIR)/ \
+ -xjf $(TMP_DIR)/$(PACKAGE)-$(VERSION).tar.bz2
+ cd $(TMP_DIR)/$(PACKAGE)-$(VERSION)/; \
+ dh_make --yes --single --copyright gpl2 -e hugo@hugovil.com -f \
+ ../$(PACKAGE)-$(VERSION).tar.bz2
+ cp debian/changelog debian/control \
+ debian/copyright $(TMP_DIR)/$(PACKAGE)-$(VERSION)/debian/
+ cd $(TMP_DIR)/$(PACKAGE)-$(VERSION)/; \
+ rm debian/README.Debian debian/*.ex debian/*.EX; \
+ ./configure; \
+ dpkg-buildpackage -rfakeroot; \
+ mv ../*.deb $(PWD)/
+ rm -r $(TMP_DIR);
--- /dev/null
+hvclock (1.2.1-1) unstable; urgency=medium
+
+ * Initial Debian release
+
+ -- Hugo Villeneuve <hugo@hugovil.com> Wed, 20 Oct 2021 10:54:14 -0400
--- /dev/null
+Source: hvclock
+Section: gnustep
+Priority: optional
+Maintainer: Hugo Villeneuve <hugo@hugovil.com>
+Build-Depends: debhelper-compat (= 13), autotools-dev
+Standards-Version: 4.5.1
+Homepage: <http://www.hugovil.com/hvclock>
+Vcs-Git: http://gitweb.hugovil.com/?p=hvclock.git;a=summary
+Rules-Requires-Root: no
+
+Package: hvclock
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: Dockable analog clock and calendar
--- /dev/null
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: hvclock
+Upstream-Contact: <hugo@hugovil.com>
+Source: <http://www.hugovil.com/hvclock>
+
+Files: *
+Copyright: 2021 Hugo Villeneuve <hugo@hugovil.com>
+License: GPL-2.0+
+
+Files: debian/*
+Copyright: 2021 Hugo Villeneuve <hugo@hugovil.com>
+License: GPL-2.0+
+
+License: GPL-2.0+
+ This package is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+ .
+ This package is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+ .
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <https://www.gnu.org/licenses/>
+ .
+ On Debian systems, the complete text of the GNU General
+ Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".