aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--debian/changelog5
-rw-r--r--debian/clean1
-rw-r--r--debian/compat1
-rw-r--r--debian/control20
-rw-r--r--debian/install1
-rwxr-xr-xdebian/rules8
-rw-r--r--debian/source/format1
7 files changed, 37 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..144f1cb
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+sscan (0.1+git20190415.81794a3-1~athena1) stretch; urgency=medium
+
+ * packaging for athena's apt repo
+
+ -- Sean Whitton <spwhitton@spwhitton.name> Mon, 15 Apr 2019 12:42:58 -0700
diff --git a/debian/clean b/debian/clean
new file mode 100644
index 0000000..d0b81e5
--- /dev/null
+++ b/debian/clean
@@ -0,0 +1 @@
+debian/stack
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..f599e28
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+10
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..2d0a173
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,20 @@
+Source: sscan
+Section: text
+Priority: optional
+Maintainer: Sean Whitton <spwhitton@spwhitton.name>
+Build-Depends:
+ debhelper (>= 10),
+ haskell-stack,
+ libtinfo-dev,
+ netbase,
+
+Package: sscan
+Architecture: any
+Depends:
+ imagemagick,
+ ocrmypdf,
+ pdftk,
+ sane-utils,
+ ${misc:Depends},
+ ${shlibs:Depends},
+Description: text UI for scanning with SANE
diff --git a/debian/install b/debian/install
new file mode 100644
index 0000000..0b3acb0
--- /dev/null
+++ b/debian/install
@@ -0,0 +1 @@
+.stack-work/install/*/*/*/bin/sscan usr/bin
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..9d14c40
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,8 @@
+#!/usr/bin/make -f
+
+%:
+ dh $@
+
+override_dh_auto_build:
+ stack --stack-root $(shell pwd)/debian/stack setup
+ stack --stack-root $(shell pwd)/debian/stack build
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)