--- /dev/null
+all:
+
+install:
+ install -d $(DESTDIR)/usr/bin $(DESTDIR)/etc/cron.daily
+ install duhome $(DESTDIR)/usr/bin
+ install cron.daily $(DESTDIR)/etc/cron.daily/duhome
--- /dev/null
+#!/bin/sh
+set -x
+duhome save
+duhome commit --quiet
--- /dev/null
+The Debian Package duhome
+----------------------------
+
+Comments regarding the Package
+
+ -- Michal Sojka <sojkam1@fel.cvut.cz> Tue, 05 Feb 2013 18:05:19 +0100
--- /dev/null
+duhome (20130205) unstable; urgency=low
+
+ * Initial Release.
+
+ -- Michal Sojka <sojkam1@fel.cvut.cz> Tue, 05 Feb 2013 18:05:19 +0100
--- /dev/null
+Source: duhome
+Section: admin
+Priority: extra
+Maintainer: Michal Sojka <sojkam1@fel.cvut.cz>
+Build-Depends: debhelper (>= 8.0.0)
+Standards-Version: 3.9.3
+#Homepage: <insert the upstream URL, if relevant>
+#Vcs-Git: git://git.debian.org/collab-maint/duhome.git
+#Vcs-Browser: http://git.debian.org/?p=collab-maint/duhome.git;a=summary
+
+Package: duhome
+Architecture: all
+Depends: git, ${misc:Depends}
+Description: Tool to keep tack of home directory sizes
+ A daily cron job is set up to store the sizes of home directories in
+ a git repository. Administrator can easily display the last saved
+ usage and find the largest home directories. Additionally history of
+ home directory sizes is available.
--- /dev/null
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: duhome
+Source: https://rtime.felk.cvut.cz/~sojka/
+
+Files: *
+Copyright: 2013 Michal Sojka <sojkam1@fel.cvut.cz>
+License: GPL-3.0+
+
+Files: debian/*
+Copyright: 2013 Michal Sojka <sojkam1@fel.cvut.cz>
+License: GPL-3.0+
+
+License: GPL-3.0+
+ This program 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 3 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 <http://www.gnu.org/licenses/>.
+ .
+ On Debian systems, the complete text of the GNU General
+ Public License version 3 can be found in "/usr/share/common-licenses/GPL-3".
--- /dev/null
+#!/bin/sh
+# postinst script for duhome
+
+set -e
+
+case "$1" in
+ configure)
+ duhome init
+ ;;
+
+ abort-upgrade|abort-remove|abort-deconfigure)
+ ;;
+
+ *)
+ echo "postinst called with unknown argument \`$1'" >&2
+ exit 1
+ ;;
+esac
+
+#DEBHELPER#
+
+exit 0
--- /dev/null
+#!/bin/sh
+# postrm script for duhome
+
+set -e
+
+case "$1" in
+ purge)
+ rm -irf /var/lib/duhome
+ ;;
+ remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
+ ;;
+
+ *)
+ echo "postrm called with unknown argument \`$1'" >&2
+ exit 1
+ ;;
+esac
+
+#DEBHELPER#
+
+exit 0
--- /dev/null
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+# This file was originally written by Joey Hess and Craig Small.
+# As a special exception, when this file is copied by dh-make into a
+# dh-make output file, you may use that output file without restriction.
+# This special exception was added by Craig Small in version 0.37 of dh-make.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+%:
+ dh $@
--- /dev/null
+3.0 (native)