summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorYves Fischer <yvesf-git@xapek.org>2018-01-05 01:12:05 +0100
committerYves Fischer <yvesf-git@xapek.org>2019-01-29 01:17:32 +0100
commit986c6ec685d90c0afd6ea4a0d80b4611d00143d3 (patch)
tree6092a14fa784331b52bc9ec89b16afde24c7050e /debian
parent7b8412d8b84d3fd37f43c0b07a1b8049a21dd999 (diff)
downloadbatteriewarner-986c6ec685d90c0afd6ea4a0d80b4611d00143d3.tar.gz
batteriewarner-986c6ec685d90c0afd6ea4a0d80b4611d00143d3.zip
debian packaging
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