blob: 6ba87c7b362a8b10330768ef84e664fb23413540 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# Contributor: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
# Maintainer: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
pkgname=py-django-contact-form
pkgver=1.4.1
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://files.pythonhosted.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"
python2 setup.py build
}
package() {
cd "$_builddir"
python2 setup.py install --root "$pkgdir"
}
sha512sums="4b8a488fd586d9ec214ab35bc0e6da92b3ff5bc319380ceb4b6aa17d20f752a5e70d2f474cc20a2d5b3826f92c583e74529fca26b3dd4e5eb573aca55e84b63a django-contact-form-1.4.1.tar.gz"
|