diff options
author | Lars Wirzenius <liw@liw.fi> | 2023-11-17 20:05:59 +0200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2023-11-17 20:05:59 +0200 |
commit | 427cd2202ccd94bf7cf1cd7b54fe4fd4d1f074ad (patch) | |
tree | 24a9c78afe2df2a78fbd0ee087da5223aabda540 | |
parent | 1e84eeef4179c4864516798db9f548eacad4dbb1 (diff) | |
download | pathdedup-427cd2202ccd94bf7cf1cd7b54fe4fd4d1f074ad.tar.gz |
chore: add Debian packaging
Signed-off-by: Lars Wirzenius <liw@liw.fi>
Sponsored-by: author
-rw-r--r-- | debian/cargo-checksum.json | 0 | ||||
-rw-r--r-- | debian/changelog | 6 | ||||
-rw-r--r-- | debian/compat | 2 | ||||
-rw-r--r-- | debian/control | 14 | ||||
-rw-r--r-- | debian/copyright | 29 | ||||
-rwxr-xr-x | debian/rules | 15 | ||||
-rw-r--r-- | debian/source/format | 1 |
7 files changed, 67 insertions, 0 deletions
diff --git a/debian/cargo-checksum.json b/debian/cargo-checksum.json new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/debian/cargo-checksum.json diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..cc47882 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,6 @@ +pathdedup (0.1.0-1) unstable; urgency=medium + + * Initial release. Not uploading to Debian, so not closing an + ITP bug. + + -- Lars Wirzenius <liw@liw.fi> Fri, 17 Nov 2023 20:01:31 +0200 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..021ea30 --- /dev/null +++ b/debian/compat @@ -0,0 +1,2 @@ +10 + diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..dd5bd38 --- /dev/null +++ b/debian/control @@ -0,0 +1,14 @@ +Source: pathdedup +Maintainer: Lars Wirzenius <liw@liw.fi> +Section: utils +Priority: optional +Standards-Version: 4.2.0 +Build-Depends: debhelper (>= 10~), + dh-cargo + +Package: pathdedup +Architecture: any +Depends: ${misc:Depends}, ${shlibs:Depends} +Built-Using: ${cargo:Built-Using} +Description: remove duplicate elements from $PATH + Remove duplicate elements from $PATH, including symlink aliases. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..7767a4c --- /dev/null +++ b/debian/copyright @@ -0,0 +1,29 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: pathdedup +Upstream-Contact: Lars Wirzenius <liw@liw.fi> +Source: http://git.liw.fi/pathdedup + +Files: * +Copyright: 2023, Lars Wirzenius and Daniel Silverstone +License: MIT + Permission is hereby granted, free of charge, to any person obtaining + a copy of this software and associated documentation files (the + “Software”), to deal in the Software without restriction, including + without limitation the rights to use, copy, modify, merge, publish, + distribute, sublicense, and/or sell copies of the Software, and to + permit persons to whom the Software is furnished to do so, subject to + the following conditions: + + The above copyright notice and this permission notice shall be + included in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. + IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY + CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, + TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE + SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + Fork this project to create your own MIT license that you can always + link to. diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..9937c9c --- /dev/null +++ b/debian/rules @@ -0,0 +1,15 @@ +#!/usr/bin/make -f + +%: + dh $@ --buildsystem cargo + +override_dh_auto_build: + true + +override_dh_auto_install: + cargo install --offline --path=. --root=debian/subplot + rm -f debian/subplot/.crates.toml + rm -f debian/subplot/.crates2.json + +override_dh_auto_test: + echo no test suite 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) |