summaryrefslogtreecommitdiff
path: root/resources/asdf/deb/control.erb
blob: df91e346368e58672c9e4879fcd99dee5d7d6b73 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
Package: <%= name %>
Version: <%= version %>-<%= iteration %>
License: <%= license %>
Vendor: <%= vendor %>
Architecture: <%= architecture %>
Maintainer: <%= maintainer  %>
Installed-Size: <%= installed_size %>
<% unless dependencies.empty? -%>
Depends: <%= dependencies.join(', ') %>
<% end -%>
<% unless conflicts.empty? -%>
Conflicts: <%= conflicts.join(', ') %>
<% end -%>
<% unless replaces.empty? -%>
Replaces: <%= replaces.join(', ') %>
<% end -%>
Section: <%= section %>
Priority: <%= priority %>
Homepage: <%= homepage %>
<% lines = description.split("\n") -%>
<% firstline, *remainder = lines -%>
Description: <%= firstline %>
<% if remainder.any? -%>
<%= remainder.collect { |l| l =~ /^ *$/ ? " ." : " #{l}" }.join("\n") %>
<% end -%>