Fix deb build
Before adoption: this commit came in with the history the project adopted, so no landing records it.
authored by Thayne McCombs · committed by David Peter · parent 59ea560 · Browse files · 1 file·+10 added−10 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
1 file+10 added−10 removed
- other:+10 added−10 removed
Provenance
- Commit
8914b43- Tree
ce3a9b7- Author
Thayne McCombs <astrothayne@gmail.com>- Committer
David Peter <sharkdp@users.noreply.github.com>- Parent
59ea560
1 file changed+10 added−10 removed
modified:ci/before_deploy.bash+10 added-10 removed
61 unmodified lines626364656667666768697069707172737475767677787980818283848583848586878888899091924 unmodified lines97989910010110110210310410513 unmodified lines61 unmodified lines ;; esac version=${TRAVIS_TAG#v} if [[ $TARGET = *musl* ]]; then dpkgname=$PACKAGE_NAME-musl conflictname=$PACKAGE_NAME dpkgname=$PROJECT_NAME-musl conflictname=$PROJECT_NAME else dpkgname=$PACKAGE_NAME conflictname=$PACKAGE_NAME-musl dpkgname=$PROJECT_NAME conflictname=$PROJECT_NAME-musl fi
tempdir=$(mktemp -d 2>/dev/null || mktemp -d -t tmp)
# copy the main binary install -Dm755 "target/$TARGET/release/build/$PROJECT_NAME" "$tempdir/usr/bin/$PROJECT_NAME" install -Dm755 "target/$TARGET/release/$PROJECT_NAME" "$tempdir/usr/bin/$PROJECT_NAME" strip "$tempdir/usr/bin/$PROJECT_NAME"
# manpage install -Dm644 "doc/$PROJECT_NAME.1" "$tempdir/usr/share/man/man1/$PROJECT_NAME.1"
# readme and license install -Dm644 README.md "$tempdir/usr/share/doc/$PACKAGE_NAME/README.md" install -Dm644 LICENSE-MIT "$tempdir/usr/share/doc/$PACKAGE_NAME/LICENSE-MIT" install -Dm644 LICENSE-APACHE "$tempdir/usr/share/doc/$PACKAGE_NAME/LICENSE-APACHE" 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"
# completions install -Dm644 target/$TARGET/release/build/$PROJECT_NAME-*/out/$PROJECT_NAME.bash_completion "$tempdir/usr/share/bash-completion/completions/$PROJECT_NAME.bash_completion" install -Dm644 target/$TARGET/release/build/$PROJECT_NAME-*/out/$PROJECT_NAME.bash-completion "$tempdir/usr/share/bash_completion/completions/$PROJECT_NAME" install -Dm644 target/$TARGET/release/build/$PROJECT_NAME-*/out/$PROJECT_NAME.fish "$tempdir/usr/share/fish/vendor_completions.d/$PROJECT_NAME.fish" install -Dm644 target/$TARGET/release/build/$PROJECT_NAME-*/out/_$PROJECT_NAME "$tempdir/usr/share/zsh/site-functions/_$PROJECT_NAME"
# Control file4 unmodified linesSection: utilsPriority: optionalMaintainer: David PeterArchitecture: $architectureProvides: $PACKAGE_NAMEProvides: $PROJECT_NAMEConflicts: $conflictnameDescription: Simple, fast and user-friendly alternative to findEOF
13 unmodified lines