#!/bin/sh
gitname=espeakup
pkgname=espeakup
pkgver=20190111
CWD=$(pwd)
( cd /data/GitHub/$gitname
git pull
cat <<EOF > .gitattributes
.gitattributes export-ignore
.git export-ignore
.git
.gitignore
EOF
git archive --worktree-attributes --prefix=$pkgname-$pkgver/ master | xz > $CWD/$pkgname-$pkgver.tar.xz
rm .gitattributes
)
