1 # Contributor: Alex Abbott <smartboyathome@gmail.com>
5 pkgdesc="Smartboy's text editor, especially focusing on BBCode support."
7 url="https://bbs.archlinux.org/viewtopic.php?id=101233"
9 depends=('pygtk' 'python-pyenchant')
12 md5sums=('c88a510a92a9ea7d866f9aa4ac0e654a')
14 _gitroot="git://github.com/smartboyathome/SmartTE.git"
19 msg "Connecting to GIT server...."
21 if [ -d $_gitname ] ; then
22 cd $_gitname && git pull origin
23 msg "The local files are updated."
25 git clone $_gitroot $_gitname
28 msg "GIT checkout done or server timeout"
29 msg "Starting make..."
31 install -m 755 -D SmartTE.py ${pkgdir}/usr/share/SmartTE/SmartTE.py
32 install -m 755 -D undostack.py ${pkgdir}/usr/share/SmartTE/undostack.py
33 install -m 755 -D ../smartte ${pkgdir}/usr/bin/smartte