2 # Maximilian Friedersdorff revision data 2016/10/02
4 # Set initial variables
6 if [ "$TMP" = "" ]; then
20 rm -rf $TMP/$APP-$VERSION
24 tar -zxvf $CWD/$APP-$VERSION.tar.gz || exit 1
25 cd $APP-$VERSION || exit 1
27 chmod -R u+w,go+r-w,a-s
30 cp -a todo.sh $PKG/usr/bin/
31 mkdir -p $PKG/usr/share/bash-completion/completions
32 cp -a todo_completion $PKG/usr/share/bash-completion/completions/todo
33 mkdir -p $PKG/etc/todo
34 sed "s/^\(export[ \t]*TODO_DIR=\).*/\1~\/.todo/" todo.cfg > $PKG/etc/todo/config
38 cat $CWD/slack-desc > $PKG/install/slack-desc
41 /sbin/makepkg -l y -c n $TMP/$APP-$PKG_VERSION-$ARCH-$BUILD.tgz