]> git.pld-linux.org Git - packages/calibre.git/blobdiff - generate-tarball.sh
- fix md5sum
[packages/calibre.git] / generate-tarball.sh
old mode 100644 (file)
new mode 100755 (executable)
index a614c9a..37ef375
@@ -2,8 +2,14 @@
 
 VERSION=$1
 
+wget https://download.calibre-ebook.com/$VERSION/calibre-$VERSION.tar.xz
+
 tar -xvJf calibre-$VERSION.tar.xz
-rm -f calibre/resources/fonts/liberation/*
-rm -f calibre/resources/fonts/prs500/*
+rm -f calibre-$VERSION/resources/fonts/liberation/*
+rm -f calibre-$VERSION/resources/fonts/prs500/*
+
+tar -cf - calibre-$VERSION | xz -9vv >calibre-$VERSION-nofonts.tar.xz
+
+echo
 
-tar -cvJf calibre-$VERSION-nofonts.tar.xz calibre
+md5sum calibre-$VERSION-nofonts.tar.xz
This page took 0.029799 seconds and 4 git commands to generate.