fish-shell/build_tools/make_deb.sh

19 lines
496 B
Bash
Raw Normal View History

#!/bin/sh
2012-05-22 15:09:39 +08:00
# Terminate on error
set -e
2012-05-25 14:58:16 +08:00
sudo rm -Rf /tmp/fishfish
mkdir /tmp/fishfish
git archive --format=tar fish_fish | tar -x -C /tmp/fishfish
mkdir /tmp/fishfish/doc-pak
cp README INSTALL CHANGELOG release_notes.html /tmp/fishfish/doc-pak/
cp build_tools/description-pak /tmp/fishfish/
cd /tmp/fishfish
2012-05-22 15:09:39 +08:00
autoconf
./configure
2012-05-25 14:58:16 +08:00
make -j 3
sudo checkinstall --default --pakdir ~/fish_built/ --pkgversion 0.9 make install
2012-05-25 15:47:18 +08:00
mv ~/fish_built/fishfish_0.9-1_i386.deb ~/fish_built/fishfish_0.9_i386.deb
2012-05-25 14:58:16 +08:00