From a82c585c93eef238f47c7750da6c1a805fa569ac Mon Sep 17 00:00:00 2001 From: Gwenhael Le Moine Date: Tue, 13 Apr 2010 11:53:52 +0700 Subject: [PATCH] add dictionaries installation --- y/eliot/eliot.SlackBuild | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/y/eliot/eliot.SlackBuild b/y/eliot/eliot.SlackBuild index aea670a0..90cc72ac 100755 --- a/y/eliot/eliot.SlackBuild +++ b/y/eliot/eliot.SlackBuild @@ -62,6 +62,15 @@ make -j3 PREFIX=$PREFIX # installation make install DESTDIR=$PKG +# dictionaries +DICOS="ods5.dawg twl06.dawg sowpods06.dawg" +mkdir -p $PKG$PREFIX/share/$APP_NAME +for d in $DICOS ; do + [ ! -e $CWD/$d ] && \ + wget -c http://dl.sv.nongnu.org/releases/eliot/dict/$d -O $CWD/$d + cp $CWD/$d $PKG$PREFIX/share/$APP_NAME/ +done + # correction cd $PKG chown -R root:root *