2018-06-15 16:21:25 +02:00
|
|
|
# Maintainer: Joffrey <j-off@live.fr>
|
|
|
|
|
2020-02-23 15:35:42 +01:00
|
|
|
pkgname='python-django-post-office'
|
2020-05-26 19:13:21 +02:00
|
|
|
pkgver=3.4.1
|
2020-02-23 15:35:42 +01:00
|
|
|
pkgrel=1
|
2018-06-15 16:21:25 +02:00
|
|
|
pkgdesc='A simple app to send and manage your emails in Django'
|
|
|
|
arch=('any')
|
|
|
|
url='https://github.com/ui/django-post_office'
|
|
|
|
license=('MIT')
|
2020-02-23 15:35:42 +01:00
|
|
|
depends=('python-django-jsonfield')
|
|
|
|
makedepends=('python-setuptools')
|
|
|
|
source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
|
2020-05-26 19:13:21 +02:00
|
|
|
sha256sums=('c8939802134a88d2ba80da28ecfc7e6ddae4260c85709cf86a125eb8362e07f6')
|
2018-06-15 16:21:25 +02:00
|
|
|
|
2020-02-23 15:35:42 +01:00
|
|
|
package() {
|
2018-06-15 16:21:25 +02:00
|
|
|
cd "$srcdir/django-post_office-$pkgver"
|
2018-06-15 22:34:04 +02:00
|
|
|
install -Dm644 './LICENSE.txt' "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
2018-06-15 16:21:25 +02:00
|
|
|
python './setup.py' install --root="$pkgdir" --optimize=1
|
|
|
|
}
|