From e0a43e967289a53af5cc530b259989bbb6ec5fc5 Mon Sep 17 00:00:00 2001 From: pberr Date: Sun, 4 Oct 2020 01:49:20 +0200 Subject: [PATCH] Fix drone pipeline --- .drone.yml | 25 +++++++++---------------- debian/README.Debian | 8 -------- debian/changelog | 7 +++---- debian/compat | 2 +- debian/control | 18 ++++++------------ debian/copyright | 31 +++++-------------------------- debian/patches/series | 1 - debian/rules | 18 ++++++++++++------ debian/source/format | 1 - debian/source/local-options | 2 -- debian/watch | 2 -- 11 files changed, 36 insertions(+), 79 deletions(-) delete mode 100644 debian/README.Debian delete mode 100644 debian/patches/series delete mode 100644 debian/source/format delete mode 100644 debian/source/local-options delete mode 100644 debian/watch diff --git a/.drone.yml b/.drone.yml index e146faa..2b11bf8 100644 --- a/.drone.yml +++ b/.drone.yml @@ -4,24 +4,17 @@ name: default steps: - name: builddeb - image: plugins/deb - pull: never + image: ubuntu/20.04 volumes: - name: debhost - path: /debian/ - settings: - name: lch - package: lch - description: Linux Compressor Humanizer - version: 0.6 - maintainer: HatThieves - homepage: https://lch.hatthieves.es/ - arch: all - auto: debian/ - depends: - - bash - target: /debian/ - + path: /debian + commands: + - dpkg-buildpackage -us -uc + - cp ../lch_0.6.10.deb . + - dpkg -i lch_0.6.10.deb + - lch -v + - cp lch_0.6.10.deb /debian/ + volumes: - name: debhost host: diff --git a/debian/README.Debian b/debian/README.Debian deleted file mode 100644 index 05b36ac..0000000 --- a/debian/README.Debian +++ /dev/null @@ -1,8 +0,0 @@ -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 index 2f1d6d5..25eb7e5 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,6 +1,5 @@ -lch (0.6-1) UNRELEASED; urgency=low +lch (0.6.10) unstable; urgency=medium - * Initial release. Closes: #nnnn - + * Initial release. - -- pberrocal <> Sat, 03 Oct 2020 18:11:23 +0200 + -- Pedro Berrocal Sun, 04 Oct 2020 00:51:43 +0200 diff --git a/debian/compat b/debian/compat index b4de394..9a03714 100644 --- a/debian/compat +++ b/debian/compat @@ -1 +1 @@ -11 +10 \ No newline at end of file diff --git a/debian/control b/debian/control index 93b0deb..3f015d3 100644 --- a/debian/control +++ b/debian/control @@ -1,15 +1,9 @@ Source: lch -Section: unknown -Priority: optional -Maintainer: pberrocal <> -Build-Depends: debhelper (>=11~) -Standards-Version: 4.1.4 -Homepage: +Maintainer: Pedro Berrocal +Standards-Version: 0.6.10 +Section: utils 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. +Architecture: all +Description: Linux Compressor Humanizer + Download it and forget about writing arguments. diff --git a/debian/copyright b/debian/copyright index 4945f2a..987a099 100644 --- a/debian/copyright +++ b/debian/copyright @@ -1,28 +1,7 @@ Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ -Upstream-Name: lch -Source: -# -# Please double check copyright with the licensecheck(1) command. +Upstream-Name: falcot-data -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. +Files: * +Copyright: 2004-2019 Hatthieves +License: + All rights reserved. \ No newline at end of file diff --git a/debian/patches/series b/debian/patches/series deleted file mode 100644 index 4a97dfa..0000000 --- a/debian/patches/series +++ /dev/null @@ -1 +0,0 @@ -# You must remove unused comment lines for the released package. diff --git a/debian/rules b/debian/rules index 9cf3a86..bc863fb 100755 --- a/debian/rules +++ b/debian/rules @@ -1,9 +1,15 @@ #!/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 $@ + dh $@ --builddirectory=./ + +override_dh_usrlocal: + +override_dh_auto_install: + ./bin/install.sh + +configure: + +clean: + dh_autoreconf_clean + dh_clean \ No newline at end of file diff --git a/debian/source/format b/debian/source/format deleted file mode 100644 index 163aaf8..0000000 --- a/debian/source/format +++ /dev/null @@ -1 +0,0 @@ -3.0 (quilt) diff --git a/debian/source/local-options b/debian/source/local-options deleted file mode 100644 index 00131ee..0000000 --- a/debian/source/local-options +++ /dev/null @@ -1,2 +0,0 @@ -#abort-on-upstream-changes -#unapply-patches diff --git a/debian/watch b/debian/watch deleted file mode 100644 index 76575dc..0000000 --- a/debian/watch +++ /dev/null @@ -1,2 +0,0 @@ -# You must remove unused comment lines for the released package. -version=3