4 pkgdesc="Twitter client works like ircd server"
5 url="http://github.com/ehabkost/passerd.git"
6 depends=('pyopenssl' 'twisted' 'python-daemon' 'twitty-twister-git' 'python-pysqlite' 'python-sqlalchemy' 'python-oauth' 'setuptools')
11 source=('passerd.init')
12 md5sums=('f7260ff57c6bfdafe0302e4f7dd979e7')
14 _gitroot="http://github.com/ehabkost/passerd.git"
19 msg "Connecting to GIT server..."
21 if [ -d $srcdir/passerd ] ; then
22 cd passerd && git pull origin
31 msg "Building package.."
33 python setup.py install --root=$pkgdir
35 mkdir -p $pkgdir/etc/rc.d/ $pkgdir/var/lib/passerd $pkgdir/var/log
36 install -D -m755 $srcdir/passerd.init $pkgdir/etc/rc.d/passerd
37 touch $pkgdir/var/log/passerd.log
41 useradd passerd /var/lib/passerd /bin/false
42 chown passerd. -R /var/log/passerd.log