From e08001bc5413a7d6f23b7c22dd4d1c25c663565d Mon Sep 17 00:00:00 2001
From: pberr <pedro@defaultdrop.net>
Date: Sat, 3 Oct 2020 16:39:40 +0200
Subject: [PATCH 1/4] Create subfolders

---
 README.md                        | 4 ++--
 install.sh => bin/install.sh     | 0
 uninstall.sh => bin/uninstall.sh | 0
 lch.1 => man/lch.1               | 0
 4 files changed, 2 insertions(+), 2 deletions(-)
 rename install.sh => bin/install.sh (100%)
 rename uninstall.sh => bin/uninstall.sh (100%)
 rename lch.1 => man/lch.1 (100%)

diff --git a/README.md b/README.md
index ae3b5b1..2faee65 100644
--- a/README.md
+++ b/README.md
@@ -4,12 +4,12 @@
 
 ###### install
 ```
-sudo ./install.sh
+sudo ./bin/install.sh
 ```
 
 ###### Uninstall
 ```
-sudo ./uninstall.sh
+sudo ./bin/uninstall.sh
 ```
 
 ## Usage
diff --git a/install.sh b/bin/install.sh
similarity index 100%
rename from install.sh
rename to bin/install.sh
diff --git a/uninstall.sh b/bin/uninstall.sh
similarity index 100%
rename from uninstall.sh
rename to bin/uninstall.sh
diff --git a/lch.1 b/man/lch.1
similarity index 100%
rename from lch.1
rename to man/lch.1

From 4c4d0a761eead0ee01eab5348bb7df992f99b1a7 Mon Sep 17 00:00:00 2001
From: pberr <pedro@defaultdrop.net>
Date: Sat, 3 Oct 2020 16:40:38 +0200
Subject: [PATCH 2/4] Update version

---
 lch | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lch b/lch
index 860e85b..fbfe341 100755
--- a/lch
+++ b/lch
@@ -1,5 +1,5 @@
 #!/usr/bin/env bash
-VERSION=0.6r10
+VERSION=0.6r11
 DEST=$1
 shift 1
 ORIG=$@

From 9eae05f99c5b6c458f5b5f4b89e193b3e1788080 Mon Sep 17 00:00:00 2001
From: pberr <pedro@defaultdrop.net>
Date: Sat, 3 Oct 2020 18:31:15 +0200
Subject: [PATCH 3/4] Add drone deb build requisites

---
 .drone.yml                                    |   9 ++++++
 .../generated/lch/installed-by-dh_installdocs |   0
 debian/README.Debian                          |   8 +++++
 debian/changelog                              |   6 ++++
 debian/compat                                 |   1 +
 debian/control                                |  15 ++++++++++
 debian/copyright                              |  28 ++++++++++++++++++
 debian/debhelper-build-stamp                  |   1 +
 debian/files                                  |   2 ++
 debian/lch.substvars                          |   2 ++
 debian/lch/DEBIAN/control                     |  12 ++++++++
 debian/lch/DEBIAN/md5sums                     |   3 ++
 debian/lch/usr/share/doc/lch/README.Debian    |   8 +++++
 .../lch/usr/share/doc/lch/changelog.Debian.gz | Bin 0 -> 164 bytes
 debian/lch/usr/share/doc/lch/copyright        |  28 ++++++++++++++++++
 debian/patches/series                         |   1 +
 debian/rules                                  |   9 ++++++
 debian/source/format                          |   1 +
 debian/source/local-options                   |   2 ++
 debian/watch                                  |   2 ++
 20 files changed, 138 insertions(+)
 create mode 100644 .drone.yml
 create mode 100644 debian/.debhelper/generated/lch/installed-by-dh_installdocs
 create mode 100644 debian/README.Debian
 create mode 100644 debian/changelog
 create mode 100644 debian/compat
 create mode 100644 debian/control
 create mode 100644 debian/copyright
 create mode 100644 debian/debhelper-build-stamp
 create mode 100644 debian/files
 create mode 100644 debian/lch.substvars
 create mode 100644 debian/lch/DEBIAN/control
 create mode 100644 debian/lch/DEBIAN/md5sums
 create mode 100644 debian/lch/usr/share/doc/lch/README.Debian
 create mode 100644 debian/lch/usr/share/doc/lch/changelog.Debian.gz
 create mode 100644 debian/lch/usr/share/doc/lch/copyright
 create mode 100644 debian/patches/series
 create mode 100755 debian/rules
 create mode 100644 debian/source/format
 create mode 100644 debian/source/local-options
 create mode 100644 debian/watch

diff --git a/.drone.yml b/.drone.yml
new file mode 100644
index 0000000..2c773a3
--- /dev/null
+++ b/.drone.yml
@@ -0,0 +1,9 @@
+pipeline:
+
+  simple:
+    image: plugins/deb
+    description: Linux Compressor Humanized
+    package: lch
+    version: 0.6
+    arch: all
+    auto_path: debian/
\ No newline at end of file
diff --git a/debian/.debhelper/generated/lch/installed-by-dh_installdocs b/debian/.debhelper/generated/lch/installed-by-dh_installdocs
new file mode 100644
index 0000000..e69de29
diff --git a/debian/README.Debian b/debian/README.Debian
new file mode 100644
index 0000000..05b36ac
--- /dev/null
+++ b/debian/README.Debian
@@ -0,0 +1,8 @@
+lch for Debian
+
+Please edit this to provide information specific to
+this lch Debian package.
+
+    (Automatically generated by debmake Version 4.3.1)
+
+ -- pberrocal <>  Sat, 03 Oct 2020 18:11:23 +0200
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..2f1d6d5
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,6 @@
+lch (0.6-1) UNRELEASED; urgency=low
+
+  * Initial release. Closes: #nnnn
+    <nnnn is the bug number of your ITP>
+
+ -- pberrocal <>  Sat, 03 Oct 2020 18:11:23 +0200
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..b4de394
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+11
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..93b0deb
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,15 @@
+Source: lch
+Section: unknown
+Priority: optional
+Maintainer: pberrocal <>
+Build-Depends: debhelper (>=11~)
+Standards-Version: 4.1.4
+Homepage: <insert the upstream URL, if relevant>
+
+Package: lch
+Architecture: any
+Multi-Arch: foreign
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Description: auto-generated package by debmake
+ This Debian binary package was auto-generated by the
+ debmake(1) command provided by the debmake package.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..4945f2a
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,28 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: lch
+Source: <url://example.com>
+#
+# Please double check copyright with the licensecheck(1) command.
+
+Files:     .drone.yml
+           README.md
+           TODO
+           bin/install.sh
+           bin/uninstall.sh
+           drone.yml
+           lch
+           lib/compressor.sh
+           lib/decompressor.sh
+           lib/installer.sh
+           lib/installers/deb.sh
+           lib/installers/pacman.sh
+           lib/installers/rpm.sh
+           lib/installers/zypper.sh
+           lib/resources.sh
+           man/lch.1
+Copyright: __NO_COPYRIGHT_NOR_LICENSE__
+License:   __NO_COPYRIGHT_NOR_LICENSE__
+
+#----------------------------------------------------------------------------
+# Files marked as NO_LICENSE_TEXT_FOUND may be covered by the following
+# license/copyright files.
diff --git a/debian/debhelper-build-stamp b/debian/debhelper-build-stamp
new file mode 100644
index 0000000..eedab6c
--- /dev/null
+++ b/debian/debhelper-build-stamp
@@ -0,0 +1 @@
+lch
diff --git a/debian/files b/debian/files
new file mode 100644
index 0000000..340085b
--- /dev/null
+++ b/debian/files
@@ -0,0 +1,2 @@
+lch_0.6-1_amd64.buildinfo unknown optional
+lch_0.6-1_amd64.deb unknown optional
diff --git a/debian/lch.substvars b/debian/lch.substvars
new file mode 100644
index 0000000..978fc8b
--- /dev/null
+++ b/debian/lch.substvars
@@ -0,0 +1,2 @@
+misc:Depends=
+misc:Pre-Depends=
diff --git a/debian/lch/DEBIAN/control b/debian/lch/DEBIAN/control
new file mode 100644
index 0000000..7f32bbf
--- /dev/null
+++ b/debian/lch/DEBIAN/control
@@ -0,0 +1,12 @@
+Package: lch
+Version: 0.6-1
+Architecture: amd64
+Maintainer: pberrocal <>
+Installed-Size: 9
+Section: unknown
+Priority: optional
+Multi-Arch: foreign
+Homepage: <insert the upstream URL, if relevant>
+Description: auto-generated package by debmake
+ This Debian binary package was auto-generated by the
+ debmake(1) command provided by the debmake package.
diff --git a/debian/lch/DEBIAN/md5sums b/debian/lch/DEBIAN/md5sums
new file mode 100644
index 0000000..1f94776
--- /dev/null
+++ b/debian/lch/DEBIAN/md5sums
@@ -0,0 +1,3 @@
+f6fb3e8cd3df7844952899d38c245931  usr/share/doc/lch/README.Debian
+9e4b1d3d394d61a03d567beb35cc8ed9  usr/share/doc/lch/changelog.Debian.gz
+706cfa6c8e208af842ddf8e4424c0363  usr/share/doc/lch/copyright
diff --git a/debian/lch/usr/share/doc/lch/README.Debian b/debian/lch/usr/share/doc/lch/README.Debian
new file mode 100644
index 0000000..05b36ac
--- /dev/null
+++ b/debian/lch/usr/share/doc/lch/README.Debian
@@ -0,0 +1,8 @@
+lch for Debian
+
+Please edit this to provide information specific to
+this lch Debian package.
+
+    (Automatically generated by debmake Version 4.3.1)
+
+ -- pberrocal <>  Sat, 03 Oct 2020 18:11:23 +0200
diff --git a/debian/lch/usr/share/doc/lch/changelog.Debian.gz b/debian/lch/usr/share/doc/lch/changelog.Debian.gz
new file mode 100644
index 0000000000000000000000000000000000000000..05dcdfbd50e6ecacf4a3f7d203faab3c6af90597
GIT binary patch
literal 164
zcmV;V09*ebiwFP!000020~L(h3W7iwgztTdfo?h}y9yCzLX;OmRAfDXE`KU)yRiqt
zw{M%PnUCR<V!)gwo0u=~yxgmEb!e*74&L;n#I%?C8%4kpwHn>nN*I#VT1s$~+LFyN
zQz7936#s_N!VQGZ_fY=bk%4|;(%ztc+{z$}V|)TOS_EBD0!{1IU>UB$A!R88-{zd>
SX@*r;EcyX_zQ56=0000DkW2vp

literal 0
HcmV?d00001

diff --git a/debian/lch/usr/share/doc/lch/copyright b/debian/lch/usr/share/doc/lch/copyright
new file mode 100644
index 0000000..4945f2a
--- /dev/null
+++ b/debian/lch/usr/share/doc/lch/copyright
@@ -0,0 +1,28 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: lch
+Source: <url://example.com>
+#
+# Please double check copyright with the licensecheck(1) command.
+
+Files:     .drone.yml
+           README.md
+           TODO
+           bin/install.sh
+           bin/uninstall.sh
+           drone.yml
+           lch
+           lib/compressor.sh
+           lib/decompressor.sh
+           lib/installer.sh
+           lib/installers/deb.sh
+           lib/installers/pacman.sh
+           lib/installers/rpm.sh
+           lib/installers/zypper.sh
+           lib/resources.sh
+           man/lch.1
+Copyright: __NO_COPYRIGHT_NOR_LICENSE__
+License:   __NO_COPYRIGHT_NOR_LICENSE__
+
+#----------------------------------------------------------------------------
+# Files marked as NO_LICENSE_TEXT_FOUND may be covered by the following
+# license/copyright files.
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..4a97dfa
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+# You must remove unused comment lines for the released package.
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..9cf3a86
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,9 @@
+#!/usr/bin/make -f
+# You must remove unused comment lines for the released package.
+#export DH_VERBOSE = 1
+#export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+#export DEB_CFLAGS_MAINT_APPEND  = -Wall -pedantic
+#export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
+
+%:
+	dh $@
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)
diff --git a/debian/source/local-options b/debian/source/local-options
new file mode 100644
index 0000000..00131ee
--- /dev/null
+++ b/debian/source/local-options
@@ -0,0 +1,2 @@
+#abort-on-upstream-changes
+#unapply-patches
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..76575dc
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+# You must remove unused comment lines for the released package.
+version=3

From 931ad86dbb910ff427edb8d8d7f34dfc332f6028 Mon Sep 17 00:00:00 2001
From: pberr <pedro@defaultdrop.net>
Date: Sat, 3 Oct 2020 18:32:48 +0200
Subject: [PATCH 4/4] Add drone deb build requisites

---
 .drone.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.drone.yml b/.drone.yml
index 2c773a3..4325adf 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -2,7 +2,7 @@ pipeline:
 
   simple:
     image: plugins/deb
-    description: Linux Compressor Humanized
+    description: Linux Compressor Humanizer
     package: lch
     version: 0.6
     arch: all