# Contributor: Kaarle Ritvanen # Maintainer: pkgname=py-django-contact-form pkgver=1.0 pkgrel=0 pkgdesc="Generic contact-form application for Django" url=https://bitbucket.org/ubernostrum/django-contact-form/ arch=noarch license=BSD depends=py-django makedepends=py-setuptools source=https://pypi.python.org/packages/source/d/django-contact-form/django-contact-form-$pkgver.tar.gz _builddir=$srcdir/django-contact-form-$pkgver prepare() { local i cd "$_builddir" for i in $source; do case $i in *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; esac done } build() { cd "$_builddir" python setup.py build } package() { cd "$_builddir" python setup.py install --root "$pkgdir" } md5sums="878856c5de059bfeebe8788fd298ed0e django-contact-form-1.0.tar.gz" sha256sums="892d3a3dbdc42073a90c0d7dd6da1fd07d9c5cdc2ad316d4b541f77343cbc1a1 django-contact-form-1.0.tar.gz" sha512sums="5f78e8637d8981bad376b8062563dec0430a679e5b3ef31dadf7ebffd0aa811fcb1ac136afa63f713544eb6d9816f8c2a1a77086ac96917c476c975321761847 django-contact-form-1.0.tar.gz"