} else {
descr = paste(descr,pkg$name,sep='')
}
- control[2,'Description'] = paste(descr,'"\n'
- ,pkg$description[1,'Description']
- ,sep='')
+ descr = paste(descr,'"\n\n', pkg$description[1,'Description'], sep='')
+ if ('URL' %in% colnames(pkg$description)) {
+ descr = paste(descr,'\n\nURL: ',pkg$description[1,'URL'],sep='')
+ }
+ control[2,'Description'] = descr
# Debian policy says 72 char width; indent minimally
write.dcf(control,file=debfile('control.in'),indent=1,width=72)
# TODO: debian/watch
system(paste('iconv -o ',shQuote(debfile(file))
,' -t utf8 '
,shQuote(debfile(paste(file,'in',sep='.')))))
+ file.remove(debfile(paste(file,'in',sep='.')))
}
return(pkg)
}