@@ -59,6 +59,11 @@ make_deb() {
59 local dpkgname
59 local dpkgname
60 local conflictname
60 local conflictname
61 local gcc_prefix
61 local gcc_prefix
65+ homepage="https://github.com/sharkdp/bat"
66+ maintainer="David Peter <mail@david-peter.de>"
63 case $TARGET in
68 case $TARGET in
@@ -105,6 +110,44 @@ make_deb() {
105 install -Dm644 README.md "$tempdir/usr/share/doc/$PROJECT_NAME/README.md"
110 install -Dm644 README.md "$tempdir/usr/share/doc/$PROJECT_NAME/README.md"
106 install -Dm644 LICENSE-MIT "$tempdir/usr/share/doc/$PROJECT_NAME/LICENSE-MIT"
111 install -Dm644 LICENSE-MIT "$tempdir/usr/share/doc/$PROJECT_NAME/LICENSE-MIT"
107 install -Dm644 LICENSE-APACHE "$tempdir/usr/share/doc/$PROJECT_NAME/LICENSE-APACHE"
112 install -Dm644 LICENSE-APACHE "$tempdir/usr/share/doc/$PROJECT_NAME/LICENSE-APACHE"
113+ cat > "$tempdir/usr/share/doc/$PROJECT_NAME/copyright" <<EOF
114+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
115+Upstream-Name: $PROJECT_NAME
119+Copyright: $maintainer
120+License: Apache-2.0 or MIT
123+ On Debian systems, the complete text of the Apache-2.0 can be found in the
124+ file /usr/share/common-licenses/Apache-2.0.
127+ Permission is hereby granted, free of charge, to any
128+ person obtaining a copy of this software and associated
129+ documentation files (the "Software"), to deal in the
130+ Software without restriction, including without
131+ limitation the rights to use, copy, modify, merge,
132+ publish, distribute, sublicense, and/or sell copies of
133+ the Software, and to permit persons to whom the Software
134+ is furnished to do so, subject to the following
137+ The above copyright notice and this permission notice
138+ shall be included in all copies or substantial portions
141+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF
142+ ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
143+ TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
144+ PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT
145+ SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
146+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
147+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
148+ IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
149+ DEALINGS IN THE SOFTWARE.
109 # Control file
152 # Control file
110 mkdir "$tempdir/DEBIAN"
153 mkdir "$tempdir/DEBIAN"