blob: 92d863a6fd2663ad695b05afb3f6ef55c542afea (
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
36
37
|
# Contributor: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
# Maintainer: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
pkgname=py-django-contact-form
pkgver=1.3
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"
}
md5sums="1e5abb8e21ad52625c20b046eb68aa66 django-contact-form-1.3.tar.gz"
sha256sums="27c8277a1da338528736f4a62fb07811a9d148b133f7a8c986aa4c533c48e52b django-contact-form-1.3.tar.gz"
sha512sums="d637db9a71e75576f4a927330c9771617557ffa0aa0aa329febe6187f1b142d8b308edee6d8a60714b7d60acf76c08bf5546412d902145bc77caef44206f2fba django-contact-form-1.3.tar.gz"
|