mirror of
https://github.com/ciromattia/kcc
synced 2026-01-27 23:47:41 +00:00
Build tweaks
This commit is contained in:
@@ -6,7 +6,7 @@ MAINTAINER Paweł Jastrzębski <pawelj@iosphe.re>
|
||||
ENV KCCVER 4.6.5
|
||||
ADD . /app
|
||||
|
||||
RUN pip3 install pillow python-slugify psutil scandir https://github.com/pyinstaller/pyinstaller/archive/develop.zip
|
||||
RUN pip3 install pillow python-slugify psutil scandir pyinstaller
|
||||
RUN gem install fpm
|
||||
RUN useradd -ms /bin/bash kcc && chown -R kcc:kcc /app
|
||||
|
||||
@@ -17,8 +17,8 @@ RUN mkdir -p dist/usr/bin dist/usr/share/applications dist/usr/share/doc/kindlec
|
||||
RUN mv dist/kcc dist/usr/bin
|
||||
RUN cp icons/comic2ebook.png dist/usr/share/kindlecomicconverter
|
||||
RUN cp LICENSE.txt dist/usr/share/doc/kindlecomicconverter/copyright
|
||||
RUN cp other/kindlecomicconverter.desktop dist/usr/share/applications
|
||||
RUN cp other/kindlecomicconverter dist/usr/share/lintian/overrides
|
||||
RUN cp other/linux/kindlecomicconverter.desktop dist/usr/share/applications
|
||||
RUN cp other/linux/kindlecomicconverter dist/usr/share/lintian/overrides
|
||||
|
||||
WORKDIR /app/dist
|
||||
RUN fpm -f -s dir -t deb -n kindlecomicconverter -v $KCCVER -m "Paweł Jastrzębski <pawelj@iosphe.re>" --license "ISC" --description "Comic and Manga converter for e-book readers.\nThis app allows you to transform your PNG, JPG, GIF, CBZ, CBR and CB7 files\ninto EPUB or MOBI format e-books." --url "https://kcc.iosphe.re/" --deb-priority "optional" --vendor "" --category "graphics" -d "unrar | unrar-free" -d "p7zip-full" usr
|
||||
|
||||
Reference in New Issue
Block a user