You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ksquirrel/builddeb

13 lines
339 B

#!/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