Sitemap generator
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
636 B

  1. # Maintainer: Pekka Helenius <fincer89 [at] hotmail [dot] com>
  2. pkgname=python-sitemap-generator
  3. _pkgname=sitemap-generator
  4. pkgver=73.f384a78
  5. pkgrel=1
  6. pkgdesc='Python website crawler module'
  7. arch=('any')
  8. url='https://github.com/Fincer/sitemap-generator'
  9. license=('Apache2')
  10. depends=('python' 'python-aiohttp' 'python-aiofiles' 'python-aiofile')
  11. makedepends=('git' 'python')
  12. source=(
  13. "$pkgname::git+https://github.com/Fincer/${_pkgname}.git"
  14. )
  15. sha512sums=('SKIP')
  16. pkgver() {
  17. cd ${pkgname}
  18. echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD)
  19. }
  20. package() {
  21. cd ${pkgname}
  22. python setup.py install --root="$pkgdir/"
  23. }