summaryrefslogtreecommitdiff
path: root/pcr-testing/python2-django-postorius/PKGBUILD
blob: 35c01a07b266406995c87ca7900e95344bb7adb0 (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
# Maintainer: bill-auger <bill-auger@programmer.net>
# Maintainer (AUR): Simon Hanna <simon dot hanna AT serve-me DOT info>

pkgname=('python2-django-postorius')
pkgver=1.2.2
pkgrel=1
pkgdesc="A Django app that provides a web user interface to access GNU Mailman"
arch=(any)
url=https://gitlab.com/mailman/postorius
license=('LGPL')
options=(!emptydirs)

makedepends=('python2-setuptools')
depends=('python2' 'python2-django-mailman3')

_upstream_name='postorius'
_release="${_upstream_name}-${pkgver}"
source=(https://gitlab.com/mailman/${_upstream_name}/-/archive/${pkgver}/${_release}.tar.gz)
sha256sums=('4299c883a7e1a5044436a3c57a19bf337bd95b4e1b89fe6c66982843622d464e')


package()
{
  cd "$srcdir/${_release}"

  python2 setup.py install --root="$pkgdir/" --optimize=1
}