#!/bin/bash #DEP:lrmi NAME=vesautils VER=cvs CWD=`pwd` PKGTMP=/tmp/pkgtmp mkdir -p $PKGTMP &>/dev/null cd $NAME make vbetool vbetest || exit 1 mkdir $PKGTMP/sbin strip vbetool vbetest || exit 1 cp vbetool vbetest $PKGTMP/sbin || exit 1 chmod 755 $PKGTMP/sbin cd "$PKGTMP" || exit 1 makepkg -l y -c n $CWD/$NAME.pkg > /dev/null && echo $VER > $CWD/$NAME.version && arch > $CWD/$NAME.arch