diff options
author | Guido | 2015-06-16 18:15:01 +0200 |
---|---|---|
committer | Guido | 2015-06-16 18:15:01 +0200 |
commit | b1c982dcdf8a22f134412a9d721e9406625ff865 (patch) | |
tree | 515e8083169919d641d18f484324c4742eef725d /PKGBUILD | |
download | aur-b1c982dcdf8a22f134412a9d721e9406625ff865.tar.gz |
Initial import
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..5d3fc9022278 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,30 @@ +# Maintainer: scorici <scorici AT yahoo DOT com> +pkgname=fics-timeseal +pkgver=1 +pkgrel=4 +pkgdesc="Timeseal support for eboard, xboard, scid and maybe others for playing chess on FICS" +arch=(any) +url="http://www.freechess.org/" +license=('unknown') +install=$pkgname.install +optdepends=('eboard: works automagically' \ + 'xboard: run fics-xboard-timeseal from a terminal' \ + 'scid: before connecting browse and select /usr/bin/timeseal') +source=("http://sourceforge.net/p/scidvspc/code/HEAD/tree/timeseal/timeseal.Linux-i386?format=raw") +md5sums=('b30dd4fafb3ac1c87804e0ab2fc7bdd7') +package() { +mkdir -p $pkgdir/usr/bin $pkgdir/usr/share/eboard +cp timeseal.Linux-i386\?format=raw $pkgdir/usr/bin/timeseal +echo "#!/bin/bash +if [ -a /usr/bin/xboard ];then +xboard -ics -icshost 69.36.243.188 -telnet -telnetProgram timeseal +echo +echo +echo Connection to freechess.org lost\! +echo If you were in the middle of a game reconnect to resume it. +else echo xboard is not installed on your system +fi +" > $pkgdir/usr/bin/fics-xboard-timeseal +chmod +x $pkgdir/usr/bin/*timeseal +ln -s /usr/bin/timeseal $pkgdir/usr/share/eboard/timeseal.Linux +} |