summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO13
-rw-r--r--PKGBUILD26
2 files changed, 39 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..f7636e3ad45
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,13 @@
+pkgbase = django-sendmail-backend
+ pkgdesc = Its a simple command line sendmail backend for Django
+ pkgver = 0.1.2
+ pkgrel = 1
+ url = https://pypi.python.org/pypi/django_sendmail_backend
+ arch = any
+ license = BSD
+ depends = python-django
+ source = https://files.pythonhosted.org/packages/8d/02/923777c2c311ab5dfc3bdf8762cded1fdf69569803bea7c4ff11503c5a73/django_sendmail_backend-0.1.2.tar.gz
+ md5sums = 0f4be94627b148b675e140f5fd030f75
+
+pkgname = django-sendmail-backend
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..d1d910fda7c
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,26 @@
+
+# Maintainer: Simon Tas <simon.tas.st@gmail.com>
+pkgname="django-sendmail-backend"
+_pkgname="django_sendmail_backend"
+pkgver=0.1.2
+pkgrel=1
+pkgdesc="Its a simple command line sendmail backend for Django"
+arch=('any')
+url="https://pypi.python.org/pypi/$_pkgname"
+license=('BSD')
+depends=('python-django')
+source=("https://files.pythonhosted.org/packages/8d/02/923777c2c311ab5dfc3bdf8762cded1fdf69569803bea7c4ff11503c5a73/$_pkgname-$pkgver.tar.gz")
+md5sums=('0f4be94627b148b675e140f5fd030f75')
+
+build() {
+ cd ${srcdir}/${_pkgname}-${pkgver}
+ python setup.py build
+}
+
+package() {
+ cd ${srcdir}/${_pkgname}-${pkgver}
+
+ python setup.py install --root="${pkgdir}" --optimize=1
+
+}
+