1 # Maintainer: Cody Lee <platinummonkey at archlinux dot us>
6 pkgdesc="A Digital life assistant (DLA) that provides a framework allowing various components to communicate, controlled interactively by the user and inspired by Iron Man's JARVIS."
8 url="http://sites.google.com/site/projectjanet"
9 license=('CCPL:by-nc' 'GPL')
10 depends=('monodevelop' 'festival' 'simon')
12 optdepends=('janet-addons: Additional plugins for jaNET'
13 'htk: For customizing simon')
15 source=("http://sourceforge.net/projects/project-janet/files/Binaries/Bin.tar.gz")
16 md5sums=('4221150b5a141b8f304665c429cb6254') #generate with 'makepkg -g'
24 mkdir -p /usr/share/$pkgname/scripts
25 cp -R ./* /usr/share/$pkgname/.
27 # create janet launcher script
28 cat <<EOF >>/usr/bin/$pkgname
30 /usr/bin/mono /usr/share/$pkgname/jaNET.exe "\$\@"
32 chmod a+x /usr/bin/$pkgname
33 # create the push2server script
34 cat <<EOF >>/usr/bin/push2server
42 if ! exec 5<> /dev/tcp/$HOST/$PORT; then
43 echo "`basename $0`: unable to connect to $HOST:$PORT"
46 echo $1 > /dev/tcp/$HOST/$PORT;
49 echo -e 'To set up the festival voice and simon configuration see: \n
50 https://wiki.archlinux.org/index.php/JaNET\n
52 jaNET 0.1.4 now comes with server mode! to enable it:\n
53 janet "judo server start"\n
54 Example: push2server "weathertoday"\n
55 or you can simply: echo "weathertoday" > /dev/tcp/<ip address>/5744'