summaryrefslogtreecommitdiffstats
path: root/builddeb
blob: fc11a6078373984a90ae77359f0af40975b7731f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh

vers=`cat B/DEBIAN/control | grep Version | sed s/'Version: '//`

make install DESTDIR=`pwd`/B &&
strip B/usr/bin/ksquirrel &&
strip B/usr/bin/ksquirrel-libs-configurator-real &&
strip B/usr/lib/trinity/libksquirrelpart.so &&
dpkg-deb -b B ksquirrel_${vers}_i386.deb &&
rm -rf B/usr &&
echo
ls -l ksquirrel_${vers}_i386.deb
echo