diff --git a/platform/linux/do_debian_package.sh b/platform/linux/do_debian_package.sh index 211e07f99..67382e262 100755 --- a/platform/linux/do_debian_package.sh +++ b/platform/linux/do_debian_package.sh @@ -64,23 +64,22 @@ if command_exists "${COMMAND}"; then # populate debian control file mkdir -p "${BASE_DIR}/DEBIAN" - { - echo "Section: graphics" - echo "Priority: optional" - echo "Depends: libsdl2-2.0-0, fonts-noto-hinted, fonts-droid-fallback, libc6 (>= 2.2.3)" - echo "Architecture: ${DEB_ARCH}" - echo "Version: ${VERSION}" - echo "Installed-Size: $(du -ks "${BASE_DIR}/usr/" | cut -f 1)" - echo "Package: koreader" - echo "Maintainer: Martín Fdez " - echo "Homepage: https://koreader.rocks" - echo "Description: Ebook reader application supporting PDF, DjVu, EPUB, FB2 and many more formats" - echo " KOReader is a document viewer for E Ink devices." - echo " Supported fileformats include EPUB, PDF, DjVu, XPS, CBT," - echo " CBZ, FB2, PDB, TXT, HTML, RTF, CHM, DOC, MOBI and ZIP files." - echo " It’s available for Kindle, Kobo, PocketBook, Android and desktop Linux." - - } > "${BASE_DIR}/DEBIAN/control" + cat >"${BASE_DIR}/DEBIAN/control" <= 2.2.3) +Architecture: ${DEB_ARCH} +Version: ${VERSION} +Installed-Size: $(du -ks "${BASE_DIR}/usr/" | cut -f 1) +Package: koreader +Maintainer: Martín Fdez +Homepage: https://koreader.rocks +Description: Ebook reader application supporting PDF, DjVu, EPUB, FB2 and many more formats + KOReader is a document viewer for E Ink devices. + Supported fileformats include EPUB, PDF, DjVu, XPS, CBT, + CBZ, FB2, PDB, TXT, HTML, RTF, CHM, DOC, MOBI and ZIP files. + It’s available for Kindle, Kobo, PocketBook, Android and desktop Linux. +EOF # use absolute path to luajit in reader.lua sed -i 's,./luajit,/usr/lib/koreader/luajit,' "${BASE_DIR}/usr/lib/koreader/reader.lua"