1 # Contributor: Axilleas P <markelos@archlinux.gr>
6 pkgdesc="Typography related template filters for Django & Jinja2 applications"
7 url="https://github.com/hyde/typogrify"
10 depends=('django>=1.0' 'python2-smartypants>=1.6')
11 makedepends=('python2' 'git')
12 conflicts=('typogrify')
15 _gitroot="git://github.com/hyde/typogrify.git"
16 _gitname="typogrify-hyde"
21 msg "Connecting to the GIT server...."
23 if [[ -d $srcdir/$_gitname ]] ; then
26 msg "The local files are updated."
28 git clone $_gitroot $_gitname
31 msg "GIT checkout done"
32 msg "Starting make..."
34 git clone $srcdir/$_gitname $srcdir/$_gitname-build
35 cd $srcdir/$_gitname-build
38 #hyde expects typogrify-hyde
39 sed -i "s/name='typogrify'/name='typogrify-hyde'/" setup.py
40 python2 setup.py install --root="${pkgdir}" -O1