aboutsummaryrefslogtreecommitdiffstats
path: root/main/py-django-contact-form/APKBUILD
blob: a5b939465418d5512c6e7eafe2154f17c8599161 (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.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"