File: README.source

package info (click to toggle)
dmaths 4.4.0.0%2Bdfsg1-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster
  • size: 29,500 kB
  • sloc: xml: 169; makefile: 2
file content (42 lines) | stat: -rw-r--r-- 1,584 bytes parent folder | download | duplicates (3)
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
To repackage the upstream DmathsAddon.oxt file removing
unnecessary files, copy this script commands in a .sh file and run
(update the dmaths orig.tar.gz file name and changelog file). Take advantage the
repackaging to leave the sources for the compilation of the package.

#! /bin/bash
mkdir dmaths-4.4.0.0+dfsg1
cp DmathsAddon.oxt dmaths-4.4.0.0+dfsg1/DmathsAddon.oxt
rm DmathsAddon.oxt
cp changelog dmaths-4.4.0.0+dfsg1/changelog
cd dmaths-4.4.0.0+dfsg1
mkdir dmaths
unzip DmathsAddon.oxt -d dmaths
rm -r dmaths/Fichiers/userguides/reglestypo
rm -r dmaths/Fichiers/fonts
rm -f dmaths/DmInstall/*.properties~
rm -f dmaths/Fichiers/icons/appspref/Thumbs.db
rm -f dmaths/Fichiers/icons/theme/Thumbs.db
rm -f dmaths/Fichiers/icons/theme1/Thumbs.db
rm -f dmaths/Fichiers/icons/theme2/Thumbs.db
rm -f dmaths/Fichiers/icons/theme3/Thumbs.db
rm -f dmaths/Fichiers/icons/theme4/Thumbs.db
rm -f dmaths/Fichiers/icons/theme5/Thumbs.db
#rm -f DmathsAddon/OOoGdmath/Bitmaps/Copie de*.*
rm -f dmaths/OOoGdmath/*.*~
rm -f dmaths/Dmaths/*.properties~
rm -f dmathssAddon/Fichiers/icons/theme4/Thumbs.db
rm -f dmaths/Fichiers/icons/theme5/Thumbs.db
rm -f dmaths/META-INF/manifest.xml~
rm -f dmaths/pkg-desc/*.*~
rm -f dmaths/*.*~
#rm -f dmaths/OOoGdmath/Bitmaps/Copie*.*
rm -f dmaths.oxt_FILES
rm -r DmathsAddon.oxt
rm -r dmaths/Fichiers/license.txt
rm -r dmaths/Fichiers/.directory
rm -r dmaths/Fichiers/Windows/*.exe
cd ..
tar -zcvf dmaths_4.4.0.0+dfsg1.orig.tar.gz dmaths-4.4.0.0+dfsg1
#rm -r dmaths-4.4.0.0+dfsg1

-- Innocent De Marchi <tangram.peces@gmail.com>  Fri, 08 Sep 2017 18:16:23 +0100