Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

executable file 27 lines (19 sloc) 0.534 kb
#!/bin/bash
#
# this script handles preparing the linux installable package
set -eu
VER=$(grep 'version =' src/misc.py | cut -d'"' -f2)
BASE_DIR="linux-dist/trelby-$VER/"
DIR="$BASE_DIR/trelby"
rm -rf linux-dist
mkdir -p $DIR
FNAME="trelby-$VER.tar"
rm -f src/*.pyc
cp -r src/ trelby.desktop names.txt.gz dict_en.dat.gz sample.trelby manual.html fileformat.txt LICENSE README resources/ $DIR
cp README.linux $BASE_DIR/README
cd linux-dist
tar cvf $FNAME "trelby-$VER"
gzip -9 $FNAME
mv "${FNAME}.gz" ..
cd ..
rm -rf linux-dist
Jump to Line
Something went wrong with that request. Please try again.