Disabled // for QuoteMacroChars, since the hook will conflict with binary selector...
[cslatevm.git] / pkg / deb / build.sh
blob7c24d167b20cde92407a141accc4be843c512206
1 #!/bin/bash
3 echo 'Building Slate package...'
5 rm -rf slate/
7 mkdir -p slate/DEBIAN
8 mkdir -p slate/usr/bin
9 mkdir -p slate/usr/lib/slate
10 mkdir -p slate/usr/share/man/man1
11 mkdir -p slate/usr/share/doc/slate
14 cp control slate/DEBIAN/
15 cp ../../LICENSE slate/usr/share/doc/slate/copyright
16 cp changelog slate/usr/share/doc/slate/changelog
17 cp ../../slate slate/usr/bin
18 cp ../../etc/slate.1 slate/usr/share/man/man1
19 cp ../../README slate/usr/share/doc/slate/README.Debian
20 cp ../../full.image slate/usr/lib/slate/slate.image
23 gzip --best slate/usr/share/man/man1/slate.1
24 gzip --best slate/usr/share/doc/slate/changelog
25 gzip --best slate/usr/share/doc/slate/README.Debian
27 strip slate/usr/bin/*
29 fakeroot dpkg-deb -b slate
30 lintian --pedantic -v slate.deb