summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
Diffstat (limited to 'debian')
-rw-r--r--debian/batteriewarner.install1
-rw-r--r--debian/changelog6
-rw-r--r--debian/compat1
-rw-r--r--debian/control9
-rwxr-xr-xdebian/rules10
5 files changed, 27 insertions, 0 deletions
diff --git a/debian/batteriewarner.install b/debian/batteriewarner.install
new file mode 100644
index 0000000..35b67c2
--- /dev/null
+++ b/debian/batteriewarner.install
@@ -0,0 +1 @@
+target/release/batteriewarner /usr/sbin \ No newline at end of file
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..a4ff452
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,6 @@
+batteriewarner (0.1.0) unstable; urgency=medium
+
+ * Fake entry.
+
+ -- Yves Fischer <yvesf+debian@xapek.org> Sat, 16 Apr 2016 15:06:48 +0200
+
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..4a3a94f
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,9 @@
+Source: batteriewarner
+Maintainer: Yves Fischer <yvesf+debian@xapek.org>
+Build-Depends: debhelper (>= 9), dh-cargo, rustc
+
+Package: batteriewarner
+Architecture: any
+Depends: ${misc:Depends}
+Description: Batterie Wächter Programm.
+
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..8f6d5dc
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,10 @@
+#!/usr/bin/make -f
+
+%:
+ dh $@
+
+override_dh_auto_clean:
+ cargo clean
+
+override_dh_auto_build:
+ cargo build --release