Rex Dieter cb8171b
#!/usr/bin/sh
Rex Dieter cb8171b
Rex Dieter cb8171b
PROJECT=brutalchess
Rex Dieter cb8171b
NAME=$PROJECT-alpha
Rex Dieter cb8171b
VERSION=0.5.2
Rex Dieter cb8171b
URL=http://sf.net/projects/$PROJECT/files/$NAME/$NAME-$VERSION/$NAME-$VERSION-src.tar.gz
Rex Dieter cb8171b
DIR=`pwd`
Rex Dieter cb8171b
pushd /tmp
Rex Dieter cb8171b
mkdir $PROJECT
Rex Dieter cb8171b
cd $PROJECT
Rex Dieter cb8171b
wget -N $URL -O $PROJECT.tar.gz
Rex Dieter cb8171b
tar xf $PROJECT.tar.gz
Rex Dieter cb8171b
pushd $PROJECT-$VERSION/fonts
Rex Dieter cb8171b
rm *.TTF *.ttf
Rex Dieter cb8171b
popd
Rex Dieter cb8171b
tar cJf $DIR/$NAME-$VERSION-nofonts.tar.xz $PROJECT-$VERSION
Rex Dieter cb8171b
popd