1 # Google-SiteMap-Generator: Installer: Arch
2 # Contributor: Chris Giles <Chris.G.27 (at) Gmail.com>
4 pkgname=google-sitemap-generator
8 pkgdesc="A Python script that creates a Sitemap for your site using the Sitemap Protocol"
10 url="http://code.google.com/p/sitemap-generators/"
12 depends=('python>=2.3')
13 makedepends=('python>=2.3')
15 source=(http://sitemap-generators.googlecode.com/files/${filename}_${pkgver}.tar.gz)
16 md5sums=('98754e802722c0cc2ffcc8aedead67b6')
22 install -d ${startdir}/pkg/usr/bin/
25 python setup.py install --root=${startdir}/pkg || return 1
26 install -D ${filename}.py ${startdir}/pkg/usr/lib/python2.6/site-packages/${filename}/${filename}.py
27 ln -s /usr/lib/python2.6/site-packages/${filename}/${filename}.py ${startdir}/pkg/usr/bin/
30 install -D COPYING ${startdir}/pkg/usr/share/licenses/${pkgname}/COPYING || return 1