From 97908beb97c49e89113a07961e6f38ccb4a09268 Mon Sep 17 00:00:00 2001 From: Laurent Arnoud Date: Sat, 9 Mar 2019 21:21:24 +0100 Subject: [PATCH] Add copyright file for deb package ref https://github.com/sharkdp/fd/issues/416 --- ci/before_deploy.bash | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/ci/before_deploy.bash b/ci/before_deploy.bash index e13616b..35898d5 100755 --- a/ci/before_deploy.bash +++ b/ci/before_deploy.bash @@ -55,6 +55,11 @@ make_deb() { local version local dpkgname local conflictname + local homepage + local maintainer + + homepage="https://github.com/sharkdp/fd" + maintainer="David Peter " case $TARGET in x86_64*) @@ -91,6 +96,15 @@ make_deb() { install -Dm644 README.md "$tempdir/usr/share/doc/$PROJECT_NAME/README.md" install -Dm644 LICENSE-MIT "$tempdir/usr/share/doc/$PROJECT_NAME/LICENSE-MIT" install -Dm644 LICENSE-APACHE "$tempdir/usr/share/doc/$PROJECT_NAME/LICENSE-APACHE" + cat > "$tempdir/usr/share/doc/$PROJECT_NAME/copyright" < +Maintainer: $maintainer Architecture: $architecture Provides: $PROJECT_NAME Conflicts: $conflictname +Homepage: $homepage Description: Simple, fast and user-friendly alternative to find While fd does not seek to mirror all of find's powerful functionality, it provides sensible (opinionated) defaults for 80% of the use cases.